⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 view.twig

📁 博客系统源码 博客系统源码 博客系统源码
💻 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) } &rarr;</a>{% endif %}                {% if not post.prev.no_results %}<a class="left prev_post" href="$post.prev.url">&larr; ${ 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 + -