content(theme): rename nav/heading/CTA 'Past Trips' to 'Trips'
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -206,7 +206,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="home-highlights-cta-wrap">
|
<div class="home-highlights-cta-wrap">
|
||||||
<a class="home-highlights-cta" href="/trips">Explore all past trips →</a>
|
<a class="home-highlights-cta" href="/trips">Explore all trips →</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<nav class="site-nav" id="site-nav" aria-label="Main navigation">
|
<nav class="site-nav" id="site-nav" aria-label="Main navigation">
|
||||||
<a href="{{ base_url_absolute }}"{% if page.template == 'home' %} aria-current="page"{% endif %}>Home</a>
|
<a href="{{ base_url_absolute }}"{% if page.template == 'home' %} aria-current="page"{% endif %}>Home</a>
|
||||||
<a href="{{ base_url_absolute }}/trips"{% if page.template == 'trips' %} aria-current="page"{% endif %}>Past Trips</a>
|
<a href="{{ base_url_absolute }}/trips"{% if page.template == 'trips' %} aria-current="page"{% endif %}>Trips</a>
|
||||||
{% if grav.user.authenticated %}
|
{% if grav.user.authenticated %}
|
||||||
<a href="{{ base_url_absolute }}/post"{% if page.template == 'post-form' %} aria-current="page"{% endif %}>New Post</a>
|
<a href="{{ base_url_absolute }}/post"{% if page.template == 'post-form' %} aria-current="page"{% endif %}>New Post</a>
|
||||||
<a href="{{ base_url_absolute }}/gpx-manager"{% if page.template == 'gpx-manager' %} aria-current="page"{% endif %}>GPX Manager</a>
|
<a href="{{ base_url_absolute }}/gpx-manager"{% if page.template == 'gpx-manager' %} aria-current="page"{% endif %}>GPX Manager</a>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% import 'macros/cover.html.twig' as cover %}
|
{% import 'macros/cover.html.twig' as cover %}
|
||||||
<h1 class="trips-heading">Past Trips</h1>
|
<h1 class="trips-heading">Trips</h1>
|
||||||
{# Owner gate (R1): broader than trip.html.twig's owner_can_edit — publishing
|
{# Owner gate (R1): broader than trip.html.twig's owner_can_edit — publishing
|
||||||
works on ANY trip, not just the active one, so it's just owner identity. #}
|
works on ANY trip, not just the active one, so it's just owner identity. #}
|
||||||
{% set is_owner = grav.user.authenticated
|
{% set is_owner = grav.user.authenticated
|
||||||
|
|||||||
Reference in New Issue
Block a user