Theme Files Update

This commit is contained in:
GitHub Action 2023-11-13 15:51:06 +00:00
parent ed29f8f1b7
commit 60f61c9a68
2 changed files with 21 additions and 14 deletions

View file

@ -2,21 +2,8 @@
<html lang="{{.Site.LanguageCode}}">
<head>
{{- partial "analytics.html" . -}}
<meta charset="UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="robots" content="index, follow">
<meta name="revisit-after" content="15 days">
{{ $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="{{.}}">
{{- end -}}
{{- with .Params.description -}}<meta name="description" content="{{.}}">{{- end -}}
{{- partial "site-meta.html" -}}
{{- partial "structured-data.html" . -}}
{{- partial "favicons.html" -}}
<title>{{.Title}}</title>
{{ range .AlternativeOutputFormats -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Title | safeHTML }}

View file

@ -0,0 +1,20 @@
<meta charset="UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="robots" content="index, follow">
<meta name="revisit-after" content="15 days">
<link rel="apple-touch-icon" sizes="180x180" href="{{"apple-touch-icon.png" | relURL}}">
<link rel="icon" type="image/png" sizes="32x32" href="{{"favicon-32x32.png" | relURL}}">
<link rel="icon" type="image/png" sizes="16x16" href="{{"favicon-16x16.png" | relURL}}">
<link rel="manifest" href="{{"site.webmanifest" | relURL}}">
<meta name="msapplication-TileImage" content="{{"mstile-144x144.png" | 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 -}}