mirror of
https://github.com/SebastianStork/kita.git
synced 2026-01-21 13:21:35 +01:00
feat: add noopener ref to link
This commit is contained in:
parent
d3cb5d6025
commit
de388f6d83
2 changed files with 2 additions and 1 deletions
|
|
@ -7,7 +7,7 @@
|
||||||
>
|
>
|
||||||
{% if config.extra.footer.license %} |<!---->
|
{% if config.extra.footer.license %} |<!---->
|
||||||
{% if config.extra.footer.license_url %}<!---->
|
{% if config.extra.footer.license_url %}<!---->
|
||||||
<a class="link" href="{{ config.extra.footer.license_url }}">
|
<a class="link" href="{{ config.extra.footer.license_url }}" rel="noopener" target="_blank">
|
||||||
{{ config.extra.footer.license }}
|
{{ config.extra.footer.license }}
|
||||||
</a>
|
</a>
|
||||||
{% else %}<!---->
|
{% else %}<!---->
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@
|
||||||
<a
|
<a
|
||||||
class="underline"
|
class="underline"
|
||||||
href="{{ link.url | replace(from=`$BASE_URL`, to=config.base_url) | safe }}"
|
href="{{ link.url | replace(from=`$BASE_URL`, to=config.base_url) | safe }}"
|
||||||
|
rel="noopener"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>{{ link.name }}</a
|
>{{ link.name }}</a
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue