diff --git a/README.md b/README.md index f655669..252790a 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Live demo here: https://pawroman.github.io/zola-theme-terminimal/ -Fork (not a port) of "Terminal" Hugo theme +This theme is a fork (not a port) of "Terminal" Hugo theme by Radosław Kozieł (aka. panr): https://github.com/panr/hugo-theme-terminal diff --git a/templates/macros/menu.html b/templates/macros/menu.html index b7604f3..2a803a3 100644 --- a/templates/macros/menu.html +++ b/templates/macros/menu.html @@ -17,7 +17,7 @@ {% endfor -%} {%- for item in menu_items %} - {%- set blog_post = not current_item and item.url == "/" -%} + {%- set blog_post = not current_item and item.url == "$BASE_URL" -%}
  • {%- if item.newtab -%} {{ item.name | safe }}