mirror of
https://github.com/tomfran/typo.git
synced 2025-04-26 13:39:55 +03:00
Merge branch 'main' into main
This commit is contained in:
commit
72631ca8e8
2 changed files with 7 additions and 2 deletions
|
@ -1,6 +1,10 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width">
|
<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 -}}
|
{{- if .IsHome -}}
|
||||||
<meta name="description" content="{{ site.Params.Description }}" />
|
<meta name="description" content="{{ site.Params.Description }}" />
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
|
|
|
@ -11,9 +11,10 @@
|
||||||
|
|
||||||
{{ with site.Params.menu }}
|
{{ with site.Params.menu }}
|
||||||
{{ range . }}
|
{{ 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 }}>
|
<a href="{{ .url }}" {{ if and (isset . "newTab") .newTab }}target="_blank" rel="noopener noreferrer"{{ end }}>
|
||||||
/{{ .name }}
|
/{{.name }}
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue