Changeset 221a209 in Klonkt for src/views/pages
- Timestamp:
- 06/16/2026 08:52:32 PM (3 months ago)
- Branches:
- main
- Children:
- 2248cd2
- Parents:
- fb02cc0
- File:
-
- 1 edited
-
src/views/pages/circle-post.ejs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/circle-post.ejs
rfb02cc0 r221a209 23 23 <div class="cirkel-post-body"><%= post.body %></div> 24 24 25 <% if (post.tags && post.tags.length) { %> 26 <div class="cirkel-post-tags"> 27 <% post.tags.forEach(function(t){ %> 28 <% if (post.sourceTagBase) { %> 29 <a class="cirkel-tag" href="<%= post.sourceTagBase %>/tag/<%= encodeURIComponent(t) %>" target="_blank" rel="noopener">#<%= t %></a> 30 <% } else { %> 31 <span class="cirkel-tag">#<%= t %></span> 32 <% } %> 33 <% }); %> 34 </div> 35 <% } %> 36 25 37 <% if (post.originalUrl) { %> 26 38 <p class="cirkel-post-readmore"> … … 42 54 .cirkel-post-cover { width: 100%; border-radius: var(--radius); margin: 0 0 1.5rem; display: block; } 43 55 .cirkel-post-body { font-size: 1.05rem; line-height: 1.7; white-space: pre-wrap; color: var(--ink); } 56 .cirkel-post-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.25rem; } 57 .cirkel-tag { font-size: .8rem; color: var(--ink-muted); background: var(--paper-2); border: 1px solid var(--rule); border-radius: 999px; padding: .15rem .6rem; text-decoration: none; } 58 .cirkel-tag:hover { border-color: var(--accent); color: var(--accent); } 44 59 .cirkel-post-readmore { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); } 45 60 .cirkel-post-readmore a { color: var(--accent); text-decoration: none; font-weight: 600; }
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)