summaryrefslogtreecommitdiff
path: root/themes/theme/layout/tag.ejs
diff options
context:
space:
mode:
authorsomhairle <[email protected]>2026-04-21 20:40:27 +0800
committerSomhairle H. Marisol <[email protected]>2026-05-24 17:24:57 +0800
commitad8f9f55ea79a4d587aecc69698808da82de3d62 (patch)
treed25c0db712e6f015d850627ff957edea44c64f94 /themes/theme/layout/tag.ejs
downloadblog-ad8f9f55ea79a4d587aecc69698808da82de3d62.tar.gz
二〇二六年四月二十一日
Diffstat (limited to 'themes/theme/layout/tag.ejs')
-rw-r--r--themes/theme/layout/tag.ejs17
1 files changed, 17 insertions, 0 deletions
diff --git a/themes/theme/layout/tag.ejs b/themes/theme/layout/tag.ejs
new file mode 100644
index 00000000..045cc160
--- /dev/null
+++ b/themes/theme/layout/tag.ejs
@@ -0,0 +1,17 @@
+<div id="tag">
+ <% if(is_tag()){ %>
+
+ <p class="tag-title">
+ / <a href="<%=url_for(/tag/)%>">tags</a>
+ / <a href="<%=page.tag.path%>"><%=page.tag%></a> /
+ </p>
+ <%- partial('partials/post_list') %>
+
+ <% }else{ %>
+
+ <p class="tag-title">/ tags /</p>
+ <%- partial('partials/tag_cloud') %>
+
+ <% } %>
+
+</div> \ No newline at end of file