use extra abbr field for navbar links
This commit is contained in:
parent
b752591c39
commit
b64c9f4d26
5 changed files with 16 additions and 4 deletions
|
|
@ -32,7 +32,7 @@
|
|||
{% set root = get_section(path="_index.md") %}
|
||||
{% for path in root.subsections | sort %}
|
||||
{% set s = get_section(path=path) %}
|
||||
<a href="{{ s.permalink }}">{{ s.title }}</a>
|
||||
<a href="{{ s.permalink }}">{{ s.extra.abbr | default(value=s.title) }}</a>
|
||||
{% endfor %}
|
||||
</nav>
|
||||
</header>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue