diff --git a/CHANGELOG.md b/CHANGELOG.md index b8cdf2b..3af1517 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add `config.extra.debug_no_styles` config variable for debugging. - Add `config.extra.nav.auto_hide` config variable for making the navbar auto-hide unless hovered or keyboard-focused (#106). - Add `config.extra.show_backlinks` config variable for showing the backlinks button for linked articles in the article's quick actions. +- Add `external` class to https:// links in navbar/footer. - Add `fediverse:creator` meta tag. - Add `title` class for use on ``. - Add back support for lazy async images in comments. diff --git a/templates/partials/footer.html b/templates/partials/footer.html index 8a309b0..f7cd2a2 100644 --- a/templates/partials/footer.html +++ b/templates/partials/footer.html @@ -7,10 +7,7 @@ {%- for link in config.extra.footer.links %} {%- if link.url is matching('https?://') %}
  • - + {{- macros_translate::translate(key=link.name, default=link.name, language_strings=language_strings) -}}
  • diff --git a/templates/partials/nav.html b/templates/partials/nav.html index 3c9f2b3..abdd939 100644 --- a/templates/partials/nav.html +++ b/templates/partials/nav.html @@ -28,10 +28,7 @@ {%- for link in link.menu -%} {%- if link.url is matching('https?://') %}
  • - + {{- macros_translate::translate(key=link.name, default=link.name, language_strings=language_strings) -}}
  • @@ -51,10 +48,7 @@ {%- elif link.url is matching('https?://') %}
  • - + {{- macros_translate::translate(key=link.name, default=link.name, language_strings=language_strings) -}}