Skip to content

Commit bc4f682

Browse files
behasclaude
andcommitted
Fix navbar showing long SEO titles
- Add nav_title field for short navigation labels - Update navbar to use nav_title with fallback to title Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent b3785a9 commit bc4f682

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

_includes/navbar.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
{%- for path in page_paths -%}
1515
{%- assign my_page = site.pages | where: "path", path | first -%}
1616
{%- if my_page.title -%}
17-
{% include navitem.html title=my_page.title url=my_page.url %}
17+
{%- assign nav_title = my_page.nav_title | default: my_page.title -%}
18+
{% include navitem.html title=nav_title url=my_page.url %}
1819
{%- endif -%}
1920
{% endfor -%}
2021
{% include navitem.html title="On Github" url=site.repo icon="fab fa-github" %}

index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
layout: home
33
title: GraphSense - Open Source Cryptoasset Analytics
4+
nav_title: Home
45
description: GraphSense is an open-source cryptoasset analytics platform for Bitcoin, Ethereum, and Tron. Full data sovereignty, algorithmic transparency, and scalability.
56
---
67

news.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
layout: page
33
title: News & Releases
4+
nav_title: News
45
description: Latest GraphSense releases, updates, and announcements. Stay informed about new features, supported cryptocurrencies, and platform improvements.
56
---
67

0 commit comments

Comments
 (0)