{{- with .Site.Params.google_verification -}} {{- end -}} {{- with .Site.Params.bing_verification -}} {{- end -}} {{- with .Site.Params.yandex_verification -}} {{- end -}} {{- with .Site.Params.pinterest_verification -}} {{- end -}} {{- with .Site.Params.baidu_verification -}} {{- end -}} {{- if .PrevInSection -}} {{- end -}} {{- if .NextInSection -}} {{- end -}} {{- with .OutputFormats.Get "RSS" -}} {{- end -}} {{- template "_internal/opengraph.html" . -}} {{- $share := .Params.share.enable | default .Site.Params.share.enable | eq true -}} {{- if $share | and (.Params.Share.Twitter | default .Site.Params.Share.Twitter | eq true) -}} {{- template "_internal/twitter_cards.html" . -}} {{- end -}} {{- partial "seo.html" . -}} {{- $options := dict "targetPath" "css/style.min.css" "outputStyle" "compressed" "enableSourceMap" true -}} {{- if fileExists "config/css/_custom.scss" -}} {{- $options = dict "includePaths" (slice "config/css") | merge $options -}} {{- $res := resources.Get "css/custom-style.scss" | toCSS $options -}} {{- else -}} {{- $res := resources.Get "css/style.scss" | toCSS $options -}} {{- end -}} {{- /* Font Awesome https://fontawesome.com/ */ -}} {{- if eq (getenv "HUGO_ENV") "production" | and .Site.Params.cdn.fontawesome_free_css -}} {{- .Site.Params.cdn.fontawesome_free_css | safeHTML -}} {{- else -}} {{- $res := resources.Get "css/lib/fontawesome-free/all.min.css" -}} {{- end -}} {{- /* Fork Awesome https://forkaweso.me/ */ -}} {{- if eq (getenv "HUGO_ENV") "production" | and .Site.Params.cdn.forkawesome_css -}} {{- .Site.Params.cdn.forkawesome_css | safeHTML -}} {{- else -}} {{- $res := resources.Get "css/lib/forkawesome/fork-awesome.min.css" -}} {{- end -}} {{- /* Animate.css https://github.com/daneden/animate.css */ -}} {{- if eq (getenv "HUGO_ENV") "production" | and .Site.Params.cdn.animate_css -}} {{- .Site.Params.cdn.animate_css | safeHTML -}} {{- else -}} {{ $res := resources.Get "css/lib/animate/animate.min.css" -}} {{- end -}}