{{ $site := .Site }} {{ $pageTitle := title (replace .Title "_" " ") }} {{ $pageTitle := replace $pageTitle "'S" "'s" }} {{ $pageTitle := replace $pageTitle "Twis" "TWIS" }} {{ $pageTitle := replace $pageTitle "| t" "| T" }} {{ if isset .Params "disabletitlemodification" }} {{ $pageTitle = .Title }} {{ end }} {{ if isset .Params "notitle" }} {{ .Title }} | Solus {{ else }} {{ $pageTitle }} | Solus {{ end }} {{ if isset .Params "author" }} {{ $author := index .Site.Data.users .Params.author }} {{ $splitName := (split $author.Name " ") }} {{ end }} {{ if and (isset .Params "featuredimage") (ne .Params.featuredimage "") }} {{ $imagePath := printf "{{ .Site.BaseURL}}imgs/posts/%s" .Params.featuredimage }} {{ end }} {{ if and (eq .Section "blog") (ne .Summary "nil") }} {{ $plainSummary := substr (.Summary | plainify | htmlUnescape ) 0 140 }} {{ end }} {{ if isset . "PublishedDate" }} {{ end }} {{ $generalMetaTags := "solus, linux, operating system, budgie, mate" }} {{ $metaCompliantPageTitle := delimit (split (lower $pageTitle) " ") ", " }} {{ if and (eq .Section "blog") (hasPrefix .Permalink "/blog/") }} {{ $blogPosts := .Paginator.Pages }} {{ $firstBlog := (index $blogPosts 0) }} {{ else }} {{ end }} {{ $sass := resources.Get "sass/website.sass" }} {{ $style := $sass | resources.ToCSS }}