Skip to content

Commit cc07c43

Browse files
BlueFisherAlex LEE
authored andcommitted
Force scroll_to_more anchor to be #more (#293)
1 parent 10503cc commit cc07c43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

layout/_macro/post.swig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@
331331
{{ post.excerpt }}
332332
<!--noindex-->
333333
<div class="post-button text-center">
334-
<a class="btn" href="{{ url_for(post.path) }}{% if theme.scroll_to_more %}#{{ __('post.more') }}{% endif %}" rel="contents">
334+
<a class="btn" href="{{ url_for(post.path) }}{% if theme.scroll_to_more %}#more{% endif %}" rel="contents">
335335
{{ __('post.read_more') }} &raquo;
336336
</a>
337337
</div>
@@ -342,7 +342,7 @@
342342
{% if content.length > theme.auto_excerpt.length %}...{% endif %}
343343
<!--noindex-->
344344
<div class="post-button text-center">
345-
<a class="btn" href="{{ url_for(post.path) }}{% if theme.scroll_to_more %}#{{ __('post.more') }}{% endif %}" rel="contents">
345+
<a class="btn" href="{{ url_for(post.path) }}{% if theme.scroll_to_more %}#more{% endif %}" rel="contents">
346346
{{ __('post.read_more') }} &raquo;
347347
</a>
348348
</div>

0 commit comments

Comments
 (0)