Changeset 0fa59c3 in Klonkt for src/views/partials/fedi-tabs.ejs


Ignore:
Timestamp:
06/26/2026 03:56:42 PM (2 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
84903a1
Parents:
cb3d5fc
Message:

feat(fedi): rename Timeline tab/route to Newspaper (/timeline -> /newspaper)

Renamed the feed: tab label + page title -> 'Newspaper', route /timeline -> /newspaper
(+ all sub-routes, form actions, links, render path, view file timeline.ejs->newspaper.ejs,
RESERVED_SLUGS). The Following page now shows its own title instead of the feed's.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/partials/fedi-tabs.ejs

    rcb3d5fc r0fa59c3  
    66<% var _nu = (typeof notifUnread !== 'undefined') ? notifUnread : 0; %>
    77<nav class="fedi-tabs" aria-label="Fediverse">
    8   <a href="/timeline" class="fedi-tab<%= _a === 'feed' ? ' is-active' : '' %>"
    9      hx-get="/timeline?partial=1" hx-target="#pcms-main" hx-swap="innerHTML" hx-push-url="/timeline" hx-indicator="#pcms-loading"><%= t('tl.tab_feed') %></a>
     8  <a href="/newspaper" class="fedi-tab<%= _a === 'feed' ? ' is-active' : '' %>"
     9     hx-get="/newspaper?partial=1" hx-target="#pcms-main" hx-swap="innerHTML" hx-push-url="/newspaper" hx-indicator="#pcms-loading"><%= t('tl.tab_feed') %></a>
    1010  <a href="/following" class="fedi-tab<%= _a === 'following' ? ' is-active' : '' %>"
    1111     hx-get="/following?partial=1" hx-target="#pcms-main" hx-swap="innerHTML" hx-push-url="/following" hx-indicator="#pcms-loading"><%= t('tl.tab_following') %></a>
Note: See TracChangeset for help on using the changeset viewer.