mirror of
https://github.com/thegeeklab/hugo-geekblog.git
synced 2024-11-22 13:10:40 +00:00
add default favicons and microformats
This commit is contained in:
parent
7164a83f2f
commit
7db1152b23
@ -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
|
||||||
|
@ -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>
|
||||||
|
|
||||||
|
@ -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 }}">
|
||||||
|
3
layouts/partials/head/microformats.html
Normal file
3
layouts/partials/head/microformats.html
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{{ template "_internal/opengraph.html" . }}
|
||||||
|
{{ template "_internal/twitter_cards.html" . }}
|
||||||
|
{{ template "_internal/schema.html" . }}
|
Loading…
Reference in New Issue
Block a user