{{ partial "header" . }}
{{ $.Scratch.Set "link" .RelPermalink }} {{ with .Params.repo }} {{ $repoHost := default "gitlab" $.Params.repoHost }} {{ if eq "github" $repoHost }} {{ printf "https://github.com/%s/%s/" $.Site.Params.githubUsername . | $.Scratch.Set "link" }} {{ else if eq "gitlab" $repoHost }} {{ printf "https://gitlab.com/%s/%s/" $.Site.Params.gitlabUsername . | $.Scratch.Set "link" }} {{ end }} {{ end }} {{ with .Description }} {{ $.Scratch.Set "subtitle" . }} {{ end }}

{{ .Title }}

{{ $.Scratch.Get "subtitle" }}

{{ range.Params.categories }} {{ . }} {{ end }} {{ range .Params.tags }} {{ . }} {{ end }}

{{ .Content }}
{{ partial "footer" . }}