diff --git a/templates/__nav_link.html b/templates/__nav_link.html index eaad681..5a0c2e3 100644 --- a/templates/__nav_link.html +++ b/templates/__nav_link.html @@ -13,11 +13,9 @@ text-uppercase link-light nav-link + {% if highlighted %} PC-nav-link-highlight {% endif %} {# links to currently shown page are different (only those without an anchor) #} - {% if request.path == link and not anchor %} - fw-semibold - {% endif %} - {{ class }} + {% if request.path == link and not anchor %} fw-semibold {% endif %} " {% if request.path == link and not anchor %} aria-current="page" diff --git a/templates/_menu_base.html b/templates/_menu_base.html index 5ac9967..7d57a8d 100644 --- a/templates/_menu_base.html +++ b/templates/_menu_base.html @@ -24,7 +24,7 @@ {% endblock %} {% block link_tickets %} - {% include '__nav_link.html' with url='tickets' link_text='Tickets' class='PC-nav-link-highlight' %} + {% include '__nav_link.html' with url='tickets' link_text='Tickets' highlighted='1' %} {% if phases.ticket_sale == 'launched' %}{% endif %} {% endblock %} @@ -38,7 +38,7 @@ {% endblock %} {% block link_call_for_proposals %} - {% comment %}{% include '__nav_link.html' with url='cfp' link_text='Call for Proposals' class="PC-nav-link-highlight" %}{% endcomment %} + {% comment %}{% include '__nav_link.html' with url='cfp' link_text='Call for Proposals' highlighted='1' %}{% endcomment %} {% include '__nav_link.html' with url='cfp' link_text='Call for Proposals' %} {% if phases.cfp == 'launched' %} {% endif %} {% endblock %} diff --git a/templates/pages/__keynoters.html b/templates/pages/__keynoters.html index 28fd1e3..1c200a4 100644 --- a/templates/pages/__keynoters.html +++ b/templates/pages/__keynoters.html @@ -12,7 +12,7 @@

Keynote speakers

-
+

Evelina Gabašová

-
+

Prokop Bartoníček

-
+

Karel Minařík

-
+

Kateřina Falk