diff options
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r-- | layouts/partials/head.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 6d80b6a..afce617 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -50,6 +50,7 @@ {{ range .AlternativeOutputFormats -}} {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} +<<<<<<< HEAD <link rel="stylesheet" href="{{ "css/style.css" | absURL }}"> <link rel="stylesheet" href="https://cdn.staticfile.org/highlight.js/9.15.10/styles/github.min.css"> @@ -60,6 +61,15 @@ {{ with .Site.Params.customCSS }} <link rel="stylesheet" href="{{ . | absURL }}">{{ end }} +======= + {{ $css := resources.Get "css/style.css" | minify | fingerprint}} + <link rel="stylesheet" href="{{ $css.Permalink }}"> + <link rel="stylesheet" href="https://cdn.staticfile.org/highlight.js/9.15.10/styles/github.min.css" async> + {{- if eq .Site.Params.comment.type "gitalk"}} + <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.css" async> + {{- end }} + <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tocbot/4.4.2/tocbot.css" async> +>>>>>>> feat-optimization {{/* NOTE: These Hugo Internal Templates can be found starting at https://github.com/spf13/hugo/blob/master/tpl/tplimpl/template_embedded.go#L158 */}} {{- template "_internal/opengraph.html" . -}} {{- template "_internal/google_news.html" . -}} |