-
Notifications
You must be signed in to change notification settings - Fork 200
/
custom_head.html
45 lines (35 loc) · 1.85 KB
/
custom_head.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!-- A partial to be overwritten by the user.
Its content will appear before the closing </head>-tag -->
<!-- Custom CSS via inline styles
You may use this template to add custom CSS to your site like so: -->
<!--
<style>
:root {
/* see variables.scss for more variables*/
/*
--section-light-text-color: #3a4145!important;
--section-light-bg-color: #ffdb8c!important;
--section-dark-bg-color: #035e00!important;
*/
/* define list element for unnumbered lists, leave empty for default list element */
/* fa-asterisk is the default icon if this variable definition is missing completely */
--ul-li-icon: fa-dashcube; /* this sets fa-dashcube as list icon */
--ul-li-icon: ; /* this sets the default html list icon */
}
</style>
-->
<!-- Custom CSS via "custom.css"-file
If you would rather place your custom CSS into
a separate file, create a "custom.css" in your
local "static/css"-directory. Then add a <link>-tag
referencing your "custom.css" like so: -->
<!-- <link rel="stylesheet" href='{{ "css/custom.css" | absURL }}'> -->
<!-- Custom CSS: Color Codes
You may checkout https://htmlcolorcodes.com/ to get those
weird color codes (like "#22343A") ;-). -->
<!-- Custom link-tags for different icons
Generated via https://favicon.io/favicon-generator/ -->
{{ with resources.Get "images/apple-touch-icon.png" }}<link rel="apple-touch-icon" sizes="180x180" href="{{ .RelPermalink }}" />{{ end }}
{{ with resources.Get "images/favicon.svg" }}<link rel="icon" type="image/svg+xml" href="{{ .RelPermalink }}" />{{ end }}
{{ range seq 9 4 }}{{ $size := pow 2 . }}{{ $file := replace "images/favicon-##x##.png" "##" $size }}{{ with resources.Get $file }}
<link rel="icon" type="{{ .MediaType.Type }}" sizes="{{- $size -}}x{{- $size -}}" href="{{ .RelPermalink }}" />{{ end }}{{ end }}