📄 view.twig
字号:
{% extends "layouts/default.twig" %}{% block content %} {% if not post.next.no_results %}<a class="right next_post" href="$post.next.url">${ post.next.title | truncate(40) } →</a>{% endif %} {% if not post.prev.no_results %}<a class="left prev_post" href="$post.prev.url">← ${ post.prev.title | truncate(40) }</a>{% endif %} <div class="clear"></div>{% include "feathers/" ~ post.feather ~ ".twig" %}{% if enabled_modules.comments %} <br /> <h2 class="comments">${ "Comments" | translate }</h2> {% if post.comment_count > 0 %} <ol class="comments" id="comments_$post.id"> {% paginate comment in site.comments_per_page post.comments as comments %}{% include "content/comment.twig" %}{% endpaginate %} </ol> <input type="hidden" name="last_comment" value="$post.latest_comment" id="last_comment" /> $comments.prev_link $comments.next_link {% if comments.pages > 1 %} <span class="pages">${ "Page %d of %d" | translate | format(comments.page, comments.pages) }</span> {% endif %} {% endif %} {% if post.commentable %} {% include "forms/comment/new.twig" %} {% endif %} {% if post.comment_status == "closed" %} ${ "Comments are not accepted on this entry." | translate } {% endif %}{% endif %}{% endblock %}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -