{{- $gen := "Hugo" }} {{- $ver := "Relearn" }} {{- $url := "https://github.com/McShelby/hugo-theme-relearn" }} {{- if ne site.Params.disableGeneratorVersion true }} {{- $gen = print $gen " " (index (findRE `\d+\.\d+\.\d+` hugo.Generator) 0) }} {{- $tag := partial "version.txt" }} {{- $ver = print $ver " " $tag }} {{- $url = printf "https://github.com/McShelby/hugo-theme-relearn/releases/tag/%s" $tag }} {{- if in $ver "+" }} {{- $commit := replaceRE "^.*\\+" "" $ver }} {{- $url = printf "https://github.com/McShelby/hugo-theme-relearn/commit/%s" $commit }} {{- end }} {{- end }}

Built with by Hugo

{{- with resources.Get "/js/github-buttons/github-buttons.js" }} {{- $assetBusting := partialCached "assetbusting.gotmpl" site.Home }} {{- $minify := not hugo.IsServer }} {{- if and (isset site.Params "minify") (ne site.Params.minify "") }} {{- $minify = site.Params.minify }} {{- end }} {{- $res := . }} {{- if $minify }} {{- $res = $res | minify }} {{- end }} {{- end }}