Fix lighthouse remarks: icon sizes, noopener

This commit is contained in:
Alex Shpak
2021-05-20 18:58:02 +02:00
parent 195138cad0
commit 553d378db3
5 changed files with 11 additions and 4 deletions
+1 -1
View File
@@ -7,6 +7,6 @@
{{ with .Get "relref" }}
{{ $ref = relref $ . }}
{{ end }}
<a {{ with $ref }} href="{{.}}" {{ end }} {{ with $target }} target="{{.}}" {{ end }} class="book-btn{{ with .Get "class" }} {{ . }}{{ end }}">
<a {{ with $ref }} href="{{.}}" {{ end }} {{ with $target }} target="{{.}}" rel="noopener" {{ end }} class="book-btn{{ with .Get "class" }} {{ . }}{{ end }}">
{{ $.Inner | markdownify }}
</a>