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
@@ -31,7 +31,7 @@
{{ if .Page.Params.bookCollapseSection }}
<input type="checkbox" id="section-{{ md5 .Page }}" class="toggle" {{ if or $current $ancestor }}checked{{ end }} />
<label for="section-{{ md5 .Page }}" class="flex justify-between">
<a {{ if .Page.Content }}href="{{ .Page.Permalink }}"{{ end }} class="{{ if $current }}active{{ end }}">
<a {{ if .Page.Content }}href="{{ .Page.Permalink }}"{{ else }}role="button"{{ end }} class="{{ if $current }}active{{ end }}">
{{- partial "docs/title" .Page -}}
</a>
</label>