Theme Files Update

This commit is contained in:
GitHub Action 2023-11-13 16:00:26 +00:00
parent 60f61c9a68
commit ee890b9f50
2 changed files with 9 additions and 9 deletions

View file

@ -3,6 +3,14 @@
<head> <head>
{{- partial "analytics.html" . -}} {{- partial "analytics.html" . -}}
{{- partial "site-meta.html" -}} {{- partial "site-meta.html" -}}
{{ $author := (.Params.author | default .Site.Params.author.name) -}}
<meta name="author" content="{{ $author }}">
{{ with .Site.Params.themeColor -}}
<meta name="theme-color" content="{{.}}">
<meta name="msapplication-TileColor" content="{{.}}">
<link rel="mask-icon" href="{{"safari-pinned-tab.svg" | relURL}}" color="{{.}}">
{{- end -}}
{{- with .Page.Params.description | default .Site.Params.description -}}<meta name="description" content="{{.}}">{{- end -}}
{{- partial "structured-data.html" . -}} {{- partial "structured-data.html" . -}}
<title>{{.Title}}</title> <title>{{.Title}}</title>
{{ range .AlternativeOutputFormats -}} {{ range .AlternativeOutputFormats -}}

View file

@ -10,11 +10,3 @@
<link rel="manifest" href="{{"site.webmanifest" | relURL}}"> <link rel="manifest" href="{{"site.webmanifest" | relURL}}">
<meta name="msapplication-TileImage" content="{{"mstile-144x144.png" | relURL}}"> <meta name="msapplication-TileImage" content="{{"mstile-144x144.png" | relURL}}">
<link rel="shortcut icon" href="{{"favicon.ico" | relURL}}"> <link rel="shortcut icon" href="{{"favicon.ico" | relURL}}">
{{ $author := (.Params.author | default .Site.Params.author.name) -}}
<meta name="author" content="{{ $author }}">
{{ with .Site.Params.themeColor -}}
<meta name="theme-color" content="{{.}}">
<meta name="msapplication-TileColor" content="{{.}}">
<link rel="mask-icon" href="{{"safari-pinned-tab.svg" | relURL}}" color="{{.}}">
{{- end -}}
{{- with .Params.description -}}<meta name="description" content="{{.}}">{{- end -}}