Merge commit 'e186c5d6f740bbdb62d2c6ea304977603a55e59a' as 'themes/paperesque'

This commit is contained in:
2020-10-09 23:41:57 +05:30
108 changed files with 4071 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
{{ define "body-classes" -}}
{{ if .Draft }}draft{{ end }} look-sheet-bkg
{{- end }}
{{ define "content" }}
{{- partial "single-article" . -}}
{{ end }}
{{ define "footer" }}
<!-- TODO: right now, this gets weird when there's a big title on the right.
There might be better info here: https://stackoverflow.com/questions/34995740/css-when-inline-block-elements-line-break-parent-wrapper-does-not-fit-new-width
and you can test on the android-development-developer-productivity article.
Would also be cool to make this fold on mobile so there's two links on separate lines.
-->
{{if (and (not .Parent.IsHome) (or .PrevInSection .NextInSection)) }}
<div class="nav-bkg-50 content-container-narrow-pad bottom-links text-0p75">
<nav class="flex-row">
{{if .PrevInSection}}
<a href="{{.PrevInSection.Permalink}}" class="flex-row v-center no-underline" style="max-width:45%;">
<span class="text-1p5"></span>&nbsp;<span class="re-underline">Previous: {{ .PrevInSection.Title }}</span>
</a>
{{else}}
<span class="flex-row v-center"></span>
{{end}}
{{if .NextInSection}}
<a href="{{.NextInSection.Permalink}}" class="flex-row v-center no-underline" style="max-width: 45%;">
<span class="re-underline">Next: {{.NextInSection.Title}}</span>&nbsp;<span class="text-1p5"></span>
</a>
{{else}}
<span class="flex-row v-center"></span>
{{end}}
</nav>
</div>
{{ end }}
{{ end }}