forked from ag_kommunikation/webseite
Merge pull request 'fix: added query to check if alt pages really exist' (#74) from trans_links into main
Reviewed-on: ag_kommunikation/webseite#74 Reviewed-by: L3D <l3d@noreply.git.wtf-eg.de>
This commit is contained in:
commit
450407c718
@ -11,7 +11,7 @@
|
||||
<nav class="header__secondary_nav">
|
||||
<ul class="secondary_nav__navlist">
|
||||
{% for alt in get_alts(this) %}
|
||||
{%- if this.alt != alt %}
|
||||
{%- if this.alt != alt and not (this.record.path == '/blog' or this.record.path == '/podcast') %}
|
||||
<li class="secondary_nav__navitem">
|
||||
<a class="secondary_nav__navlink" href="{{ '.'|url(alt=alt) }}">{{ alt|title|upper }}</a>
|
||||
</li>
|
||||
|
Loading…
Reference in New Issue
Block a user