Skip to content

Commit

Permalink
fix external URLs in navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
fischermoseley committed Mar 17, 2024
1 parent 0b7f587 commit 582e593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doks-theme/_includes/site-header.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
{% if site.doks.header.nav %}
<ul class="site-header__nav hidden-xs">
{% for item in site.doks.header.nav %}
<li><a href="{% if jekyll.environment == 'production' %}{{ site.doks.baseurl }}{% endif %}{{ item.item_url }}">{{ item.item_name }}</a></li>
<li><a href="{% if jekyll.environment == 'production' and not item.external_url %}{{ site.doks.baseurl }}{% endif %}{{ item.item_url }}">{{ item.item_name }}</a></li>
{% endfor %}
</ul><!-- /.site-header__nav -->
<button class="offcanvas-toggle visible-xs">
Expand Down

0 comments on commit 582e593

Please sign in to comment.