This commit is contained in:
2025-08-09 18:07:40 +09:00
parent aff1b3a7bd
commit 824aee7b74

View File

@@ -12,14 +12,14 @@
{% if post.language %} {% if post.language %}
<span class="article-lang">{{ post.language }}</span> <span class="article-lang">{{ post.language }}</span>
{% endif %} {% endif %}
{% if post.extra.type == "ai" %} {% if post.extra and post.extra.type == "ai" %}
<span class="article-ai"> <span class="article-ai">
<span class="ai-icon icon-ai"></span> <span class="ai-icon icon-ai"></span>
ai ai
</span> </span>
{% endif %} {% endif %}
</div> </div>
{% if not post.extra.type or post.extra.type != "ai" %} {% if not post.extra or not post.extra.type or post.extra.type != "ai" %}
<div class="article-actions"> <div class="article-actions">
{% if post.markdown_url %} {% if post.markdown_url %}
<a href="{{ post.markdown_url }}" class="action-btn markdown-btn" title="View Markdown"> <a href="{{ post.markdown_url }}" class="action-btn markdown-btn" title="View Markdown">
@@ -35,7 +35,7 @@
{% endif %} {% endif %}
</header> </header>
{% if not post.extra.type or post.extra.type != "ai" %} {% if not post.extra or not post.extra.type or post.extra.type != "ai" %}
<nav class="toc"> <nav class="toc">
<h3>Contents</h3> <h3>Contents</h3>
<div id="toc-content"> <div id="toc-content">