<!DOCTYPE html> {{- $filePath := .File -}} {{- $gitUrl := .Site.Data.myvars.giturl -}} <html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-us{{ end }}"> {{- partial "head.html" . -}} {{ partialCached "css.html" . }} <body class="mx-4"> {{ with .Site.Data.myvars.edit }} <div class="flex justify-between sticky top-0 static border-b-8 z-10 border-CoconutCream bg-AuChico px-1 pt-2"> <a class="edit-button" target="_blank" href="{{ $gitUrl }}/_edit/master/content/{{ $filePath }}">edit_this</a> <a class="edit-button" target="_blank" href="{{ $gitUrl }}/_new/master/content/{{ $filePath.Dir }}">{{ $filePath.Dir }}add_new</a> <a class="edit-button" target="_blank" href="{{ $gitUrl }}/_new/master/content">add_new</a> <a class="edit-button" target="_blank" href="{{ $gitUrl }}/_edit/master/PUBLISH.trigger.md">publish</a> <a class="edit-button" target="_blank" href="{{ $gitUrl }}"> ? </a> </div> {{ end }} {{- partial "header.html" . -}} <main class="lg:flex mb-4 pt-2 justify-between md:flex-row"> <aside class="lg:w-2/5 pr-4 pt-16 lg:sticky lg:top-0 lg:static h-full mb-6 md:w-full"> {{- block "sidebar" . }}{{- end }} </aside> <article class="lg:w-3/5 pt-32 md:w-full"> {{- block "main" . }}{{- end }} </article> </main> {{- partial "footer.html" . -}} </body> </html>