略微调整
This commit is contained in:
浪子 2024-07-30 09:55:40 +08:00
parent eecbdb7a10
commit 31838bf189
3 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@
d="M1.751 10c0-4.42 3.584-8 8.005-8h4.366c4.49 0 8.129 3.64 8.129 8.13 0 2.96-1.607 5.68-4.196 7.11l-8.054 4.46v-3.69h-.067c-4.49.1-8.183-3.51-8.183-8.01zm8.005-6c-3.317 0-6.005 2.69-6.005 6 0 3.37 2.77 6.08 6.138 6.01l.351-.01h1.761v2.3l5.087-2.81c1.951-1.08 3.163-3.13 3.163-5.36 0-3.39-2.744-6.13-6.129-6.13H9.756z">
</path>
</g>
</svg><?php $this->commentsNum(_t('0'), _t('1'), _t('%d')); ?>
</svg>评论 (<?php $this->commentsNum(_t('0'), _t('1'), _t('%d')); ?>)
</h3>
<ol class="commentlist"></ol>
<?php if ($comments->have()): ?>

View File

@ -145,6 +145,6 @@ function addHeaderLinks($text)
$level = $matches[1];
$title = $matches[2];
$id = htmlspecialchars(strip_tags($title), ENT_QUOTES, 'UTF-8');
return sprintf('<h%s id="%s"><a href="#%s" class="headerlink" title="%s">%s</a></h%s>', $level, $id, $id, $title, $title, $level);
return sprintf('<h%s id="%s"><a href="#%s" class="headerlink" title="%s"></a>%s</h%s>', $level, $id, $id, $title, $title, $level);
}, $text);
}

View File

@ -3,7 +3,7 @@
* 移植自 Hexo主题 Chic
* @package Chic
* @author 老孙
* @version 1.0.3
* @version 1.0.4
* @link https://www.imsun.org
*/
if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>