2020-03-05 04:10:52 +00:00
|
|
|
<!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>
|
2020-03-08 01:37:52 +00:00
|
|
|
<a class="edit-button" target="_blank" href="{{ $gitUrl }}/_new/master/content/{{ $filePath.Dir }}">{{ $filePath.Dir }}add_new</a>
|
2020-03-05 04:10:52 +00:00
|
|
|
<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" . -}}
|
2020-03-08 00:58:32 +00:00
|
|
|
<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">
|
2020-03-05 04:10:52 +00:00
|
|
|
{{- block "sidebar" . }}{{- end }}
|
|
|
|
</aside>
|
2020-03-08 00:58:32 +00:00
|
|
|
<article class="lg:w-3/5 pt-32 md:w-full">
|
2020-03-05 04:10:52 +00:00
|
|
|
{{- block "main" . }}{{- end }}
|
|
|
|
</article>
|
|
|
|
</main>
|
|
|
|
{{- partial "footer.html" . -}}
|
|
|
|
</body>
|
|
|
|
</html>
|