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 %}
<span class="article-lang">{{ post.language }}</span>
{% endif %}
{% if post.extra.type == "ai" %}
{% if post.extra and post.extra.type == "ai" %}
<span class="article-ai">
<span class="ai-icon icon-ai"></span>
ai
</span>
{% endif %}
</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">
{% if post.markdown_url %}
<a href="{{ post.markdown_url }}" class="action-btn markdown-btn" title="View Markdown">
@@ -35,7 +35,7 @@
{% endif %}
</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">
<h3>Contents</h3>
<div id="toc-content">