{{- /* Only enable asset bundling in production */ -}} {{- $style := resources.Get "css/main.css" -}} {{- if hugo.IsProduction }} {{- $style = $style | resources.Minify | resources.Fingerprint -}} {{- end }} {{- /* Some sane tags default */ -}} {{ hugo.Generator }} {{- with .Site.Author }} {{- $names := slice }} {{- range . }}{{ $names = $names | append .name }}{{ end }} {{- end }} {{- template "_internal/twitter_cards.html" . }} {{- template "_internal/opengraph.html" . }} {{- /* Linking all of the output formats for discovery. */ -}} {{- range .OutputFormats }} {{- printf "" .Rel .MediaType.Type .Permalink | safeHTML }} {{- end }} {{- if hugo.IsProduction }} {{ template "_internal/google_analytics_async.html" . }} {{ template "_internal/disqus.html" . }} {{- end }} {{- /* Persistent theme. It's a very small script so there's little effect on perceived performance. */ -}}