Skip to content

Commit

Permalink
perf: 添加「参与讨论按钮」
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanDecode committed Mar 23, 2019
1 parent aa3d240 commit 2d9dae0
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 12 deletions.
5 changes: 4 additions & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@
<?php endif; ?>
</div>

<div class="post-meta-index">Posted by <span itemprop="author"><?php $this->author(); ?></span> on <time datetime="<?php echo date('c', $this->created); ?>" itemprop="datePublished"><?php $this->date('Y-m-d'); ?></time></div>
<div class="post-meta-index">
Posted by <span itemprop="author"><?php $this->author(); ?></span> on <time datetime="<?php echo date('c', $this->created); ?>" itemprop="datePublished"><?php $this->date('Y-m-d'); ?></time>
<?php if($this->fields->showfullcontent == '1') echo ' • <a href="'.$this->permalink.'#comments">参与讨论 →</a>'; ?>
</div>
<meta itemprop="dateModified" content="<?php echo date('c', $this->modified); ?>">
<meta itemscope itemprop="mainEntityOfPage" itemtype="https://schema.org/WebPage" itemid="<?php $this->permalink(); ?>">
<div hidden itemprop="publisher" itemscope="" itemtype="https://schema.org/Organization">
Expand Down
41 changes: 30 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2d9dae0

Please sign in to comment.