hugo-theme-toastersrocks/layouts/partials/head.html

14 lines
725 B
HTML
Raw Normal View History

2020-11-29 02:41:06 +00:00
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="/img/icon.png" type="image/png">
{{ hugo.Generator }}
{{ template "_internal/opengraph.html" . }}
{{ template "_internal/twitter_cards.html" . }}
<title>{{ if .Title }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title>
{{ $fontawesome := resources.Get "css/fontawesome.css" }}
{{ $styles := resources.Get "css/styles.css" }}
{{ $syntax := resources.Get "css/syntax.css" }}
{{ $css := slice $fontawesome $styles $syntax | resources.Concat "css/toastersrocks.css" | resources.Minify }}
<link rel="stylesheet" href="{{ $css.Permalink }}" />
2020-11-29 02:41:06 +00:00
</head>