Font inclusion
This commit is contained in:
parent
2af412a4d5
commit
e077ead902
2 changed files with 4 additions and 0 deletions
|
|
@ -3,3 +3,4 @@
|
|||
<meta name="description" content="">
|
||||
<title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title>
|
||||
{{ partialCached "head/css.html" . }}
|
||||
{{ partialCached "head/fonts.html" . }}
|
||||
|
|
|
|||
3
layouts/_partials/head/fonts.html
Normal file
3
layouts/_partials/head/fonts.html
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{{ range resources.ByType "font" }}
|
||||
<link rel="preload" href="{{ .RelPermalink }}" as="font" type="{{ .MediaType.Type }}" crossorigin>
|
||||
{{ end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue