Add external class to the source link

This commit is contained in:
daudix
2024-10-06 16:05:23 +03:00
parent 01e6609286
commit e63a2cdc62
2 changed files with 2 additions and 1 deletions

View File

@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added ### Added
- Add `external` class to the "Website Source" link in footer.
- Add ability to enable inline table of contents in articles (#94 and #95). - Add ability to enable inline table of contents in articles (#94 and #95).
- Add ability to make table of contents use numbered lists (#95). - Add ability to make table of contents use numbered lists (#95).
- Add ability to open search by pressing the slash key. - Add ability to open search by pressing the slash key.

View File

@ -39,7 +39,7 @@
{%- if config.extra.source_url and config.extra.footer.show_source %} {%- if config.extra.source_url and config.extra.footer.show_source %}
<p> <p>
<a href="{{ config.extra.source_url }}" rel="{{ rel_attributes }}"> <a class="external" href="{{ config.extra.source_url }}" rel="{{ rel_attributes }}">
{{- macros_translate::translate(key="source", default="Website source", language_strings=language_strings) -}} {{- macros_translate::translate(key="source", default="Website source", language_strings=language_strings) -}}
</a> </a>
</p> </p>