doc/notebook/mkdocs-material/material/templates/partials/comments.html

21 lines
1.5 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{#-
This file was automatically generated - do not edit
-#}
{% set disqus = config.extra.disqus %} {% if page and page.meta and page.meta.disqus is string %} {% set disqus = page.meta.disqus
%} {% endif %}
{% set copyright = config.extra.copyright %} {% if page and page.meta and page.meta.copyright is string %} {% set copyright = page.meta.copyright
%} {% endif %}
{% set authors = 'OI-wiki' %} {% if page and page.meta and page.meta.author is string %} {% set authors = page.meta.author
%} {% endif %}
<hr><blockquote class="page-copyright">
<span><i class="md-icon">{% include ".icons/material/wrench.svg" %}</i>本页面最近更新:</span><span class="facts_modified"></span><a class="edit_history">更新历史</a><br>
<span><i class="md-icon">{% include ".icons/material/pencil.svg" %}</i>发现错误?想一起完善? <a href="{{ page.edit_url }}" title="{{ lang.t('edit.link.title') }}" class="page_edit_url">在 GitHub 上编辑此页!</a></span><br>
<span><i class="md-icon">{% include ".icons/material/account-multiple.svg" %}</i>本页面贡献者:</span><span class="page_contributors">{{ authors }}</span><br>
<span><i class="md-icon">{% include ".icons/material/copyright.svg" %}</i>本页面的全部内容在 <strong>{{ copyright }}</strong> 协议之条款下提供,附加条款亦可能应用</span>
</blockquote>
{% if not page.is_homepage and disqus %}
{% set pageID = page.title | default("404", true) %}
<div id="__comments" class="giscus" data-no-instant></div>
{% include "partials/javascripts/comments.html" %}
{% endif %}