add default favicons and microformats

This commit is contained in:
Robert Kaussow 2020-07-23 21:27:11 +02:00
parent 7164a83f2f
commit 7db1152b23
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
4 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,3 @@
- ENHANCEMENT - ENHANCEMENT
- fix base path for auto-generated favicons - enable microformats e.g. opengraph and twitter cards by default
- add partial to set rel-me links, see https://microformats.org/wiki/rel-me - add a minimal set of default favicons

View File

@ -7,6 +7,7 @@
{{ partial "head/favicons" . }} {{ partial "head/favicons" . }}
{{ partial "head/rel-me" . }} {{ partial "head/rel-me" . }}
{{ partial "head/microformats" . }}
{{ partial "head/others" . }} {{ partial "head/others" . }}
</head> </head>

View File

@ -1 +1,3 @@
<link rel="icon" href="{{ "favicon/favicon-32x32.png" | relURL }}" type="image/x-icon"> <link rel="apple-touch-icon" sizes="180x180" href="{{ "favicon/apple-touch-icon.png" | relURL }}">
<link rel="icon" type="image/png" sizes="32x32" href="{{ "favicon/favicon-32x32.png" | relURL }}">
<link rel="icon" type="image/png" sizes="16x16" href="{{ "favicon/favicon-16x16.png" | relURL }}">

View File

@ -0,0 +1,3 @@
{{ template "_internal/opengraph.html" . }}
{{ template "_internal/twitter_cards.html" . }}
{{ template "_internal/schema.html" . }}