Welcome to mirror list, hosted at ThFree Co, Russian Federation.

meta.html « partials « layouts - github.com/kongdivin/hugo-theme-okayish-blog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 935a67bba16ede4e9d429e74c17678b4cb75f72c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{{ $title := $.Site.Title }}

{{ if and .Title (not .IsHome) }}
{{ $title = delimit (slice .Title "|" $title) " " }}
{{ end }}

<title>{{ $title }}</title>

<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content='{{ .Description | default .Summary | default $.Site.Params.description }}'>
<meta name="keywords" content='{{ delimit (($.Param "keywords") | default ($.Param "tags") | default slice) ", " }}'>
<meta name="msapplication-TileColor" content="#b91d47">
<meta name="theme-color" content="#ffffff">

<link rel="canonical" href="{{ .Permalink }}" />
<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 }}'>
<link rel="mask-icon" href='{{ "/safari-pinned-tab.svg" | relURL }}' color="#808080">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="theme-color" content="#ffffff">

{{ template "_internal/opengraph.html" . }}
{{ template "_internal/twitter_cards.html" . }}
{{ template "_internal/schema.html" }}