Skip to content

Commit 2b055c9

Browse files
committed
feat: meta-tags
1 parent 127a515 commit 2b055c9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

layouts/partials/head.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,12 @@
1818
<meta property="og:site_name" content='{{ site.Title }}'>
1919
<meta property="og:title" content='{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}'>
2020
<meta property="og:description" content="{{ $metaDescription }}" />
21+
<meta property="og:type" content='{{ if .IsPage }}article{{ else }}website{{ end }}'>
2122
<meta property="og:image" content="{{ .Site.BaseURL }}og-image.jpg">
2223
<meta property="og:image:type" content="image/jpg">
2324
<meta property="og:image:width" content="1200">
2425
<meta property="og:image:height" content="630">
2526

26-
<meta property="og:type" content='{{ if .IsPage }}article{{ else }}website{{ end }}'>
27-
28-
29-
3027
<title>
3128
{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}
3229
</title>
@@ -48,5 +45,8 @@
4845
<!-- include a favicon for your site if you have it, else omit the line below
4946
Location of favicon can be in mytheme/static/favicon.ico -->
5047
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
48+
<link rel="icon" type="image/x-icon" href="/favicon.ico">
49+
<link rel="apple-touch-icon" type="image/x-icon" href="/favicon.ico">
50+
<link rel="mask-icon" type="image/x-icon" href="/favicon.ico">
5151

5252

0 commit comments

Comments
 (0)