Changeset b94c08e in Klonkt for src/views/pages/home.ejs
- Timestamp:
- 06/14/2026 05:25:41 PM (3 months ago)
- Branches:
- main
- Children:
- 8afbdd6
- Parents:
- 7963a6e
- File:
-
- 1 edited
-
src/views/pages/home.ejs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/home.ejs
r7963a6e rb94c08e 11 11 12 12 const allPosts = [...pinnedPosts, ...posts]; 13 const _base = (typeof siteUrlBase !== 'undefined' && siteUrlBase) ? siteUrlBase : ''; 13 14 %> 14 15 … … 26 27 <% if (user && permissions.canCreatePost(user, site)) { %> 27 28 <p style="margin-top:2rem"> 28 <a class="btn" href=" /posts/new"29 hx-get=" /posts/new?partial=1" hx-target="#pcms-main" hx-swap="innerHTML"30 hx-push-url=" /posts/new" hx-indicator="#pcms-loading">29 <a class="btn" href="<%= _base %>/posts/new" 30 hx-get="<%= _base %>/posts/new?partial=1" hx-target="#pcms-main" hx-swap="innerHTML" 31 hx-push-url="<%= _base %>/posts/new" hx-indicator="#pcms-loading"> 31 32 Schrijf je eerste post → 32 33 </a>
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)