Merge branch 'main' into main

This commit is contained in:
Francesco Tomaselli 2024-08-13 19:22:12 +02:00 committed by GitHub
commit 9a03a630a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 2 deletions

View File

@ -1,6 +1,10 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
{{ with .OutputFormats.Get "rss" -}}
{{ printf `<link rel=%q type=%q href=%q title=%q>` .Rel .MediaType.Type .Permalink site.Title | safeHTML }}
{{ end }}
{{- if .IsHome -}}
<meta name="description" content="{{ site.Params.Description }}" />
{{- else -}}

View File

@ -11,7 +11,8 @@
{{ with site.Params.menu }}
{{ range . }}
<p class="small {{ if eq .url $currentPage.Path }} bold {{end}}">
<p class="small {{ if eq .name (lower $currentPage.Name) }} bold {{end}}">
<a href="{{ .url }}" {{ if and (isset . "newTab") .newTab }}target="_blank" rel="noopener noreferrer"{{ end }}>
/{{.name }}
</a>