add icons preload
This commit is contained in:
parent
7825dce524
commit
6fbef83856
1 changed files with 10 additions and 1 deletions
|
@ -30,8 +30,17 @@
|
||||||
|
|
||||||
<!-- Preload -->
|
<!-- Preload -->
|
||||||
<link rel="preload" as="image" href="{{ `theme.png` | absURL }}">
|
<link rel="preload" as="image" href="{{ `theme.png` | absURL }}">
|
||||||
|
{{ if site.Params.twitter }}
|
||||||
|
<link rel="preload" as="image" href="{{ `twitter.svg` | absURL }}">
|
||||||
|
{{ end }}
|
||||||
|
{{ if site.Params.github }}
|
||||||
|
<link rel="preload" as="image" href="{{ `github.svg` | absURL }}">
|
||||||
|
{{ end }}
|
||||||
|
{{ if site.Params.instagram }}
|
||||||
|
<link rel="preload" as="image" href="{{ `instagram.svg` | absURL }}">
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
<!-- Favicons -->
|
<!-- Favicon -->
|
||||||
<link rel="icon" href="{{ `favicon.ico` | absURL }}">
|
<link rel="icon" href="{{ `favicon.ico` | absURL }}">
|
||||||
<link rel="apple-touch-icon" href="{{ `apple-touch-icon.png` | absURL }}">
|
<link rel="apple-touch-icon" href="{{ `apple-touch-icon.png` | absURL }}">
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue