Add more favicons and move CSS files to css/

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
This commit is contained in:
Harsh Shandilya 2020-01-30 14:53:28 +05:30
parent bfe8bad0f6
commit dec3fe8454
7 changed files with 8 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 B

After

Width:  |  Height:  |  Size: 138 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 320 B

After

Width:  |  Height:  |  Size: 312 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -18,13 +18,19 @@
<!-- CSS -->
{{ $poole := resources.Get "css/poole.css" | resources.ExecuteAsTemplate "poole.css" . }}
{{ $hyde := resources.Get "css/hyde.css" | resources.ExecuteAsTemplate "hyde.css" . }}
{{ $print := resources.Get "css/print.css" | resources.ExecuteAsTemplate "print.css" . | minify | fingerprint }}
{{ $print := resources.Get "css/print.css" | resources.ExecuteAsTemplate "css/print.css" . | minify | fingerprint }}
{{ $syntax := resources.Get "css/syntax.css" | resources.ExecuteAsTemplate "syntax.css" . }}
{{ $styles := slice $poole $hyde $syntax | resources.Concat "styles.css" | minify | fingerprint }}
{{ $styles := slice $poole $hyde $syntax | resources.Concat "css/styles.css" | minify | fingerprint }}
<link rel="stylesheet" href="{{ $styles.RelPermalink }}" {{ printf "integrity=%q" $styles.Data.Integrity | safeHTMLAttr }}>
<link rel="stylesheet" href="{{ $print.RelPermalink }}" {{ printf "integrity=%q" $print.Data.Integrity | safeHTMLAttr }} media="print">
{{ partialCached "head_fonts.html" . }}
<!-- PWA -->
<meta name="theme-color" content="#212121" />
<link rel="apple-touch-icon" sizes="180x180" href="{{ .Site.BaseURL}}apple-touch-icon.webp">
<link rel="icon" type="image/png" sizes="32x32" href="{{ .Site.BaseURL}}favicon-32x32.webp">
<link rel="icon" type="image/png" sizes="16x16" href="{{ .Site.BaseURL}}favicon-16x16.webp">
<!-- Icons -->
<link rel="shortcut icon" href="{{ .Site.BaseURL }}favicon-32x32.webp">