Changeset 4885eab in Klonkt for src/views/pages/tag.ejs
- Timestamp:
- 06/21/2026 03:05:14 PM (3 months ago)
- Branches:
- main
- Children:
- 5e61b17
- Parents:
- bbf9d1a
- File:
-
- 1 edited
-
src/views/pages/tag.ejs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/tag.ejs
rbbf9d1a r4885eab 1 1 <div class="container tag-page"> 2 2 <header class="tag-page-header"> 3 <p class="tag-eyebrow"> Tag</p>3 <p class="tag-eyebrow"><%= t('ptag.eyebrow') %></p> 4 4 <h1>#<%= tag %></h1> 5 5 <p class="tag-meta"> 6 <%= posts.length %> post<%= posts.length === 1 ? '' : 's'%>6 <%= posts.length === 1 ? t('ptag.count_one', { n: posts.length }) : t('ptag.count_many', { n: posts.length }) %> 7 7 </p> 8 8 </header> 9 9 10 10 <% if (!posts.length) { %> 11 <p class="tag-empty"> No posts with this tag yet.</p>11 <p class="tag-empty"><%= t('ptag.empty') %></p> 12 12 <% } else { %> 13 13 <ol class="tag-results"> … … 26 26 hx-get="/<%= p.slug %>?partial=1" hx-target="#pcms-main" hx-swap="innerHTML" 27 27 hx-push-url="/<%= p.slug %>" hx-indicator="#pcms-loading"> 28 <%= p.title || '(untitled)'%>28 <%= p.title || t('ptag.untitled') %> 29 29 </a> 30 30 </h2>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)