Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/capnfabs/paperesque.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/posts/single.html')
-rw-r--r--layouts/posts/single.html67
1 files changed, 0 insertions, 67 deletions
diff --git a/layouts/posts/single.html b/layouts/posts/single.html
deleted file mode 100644
index 44ff315..0000000
--- a/layouts/posts/single.html
+++ /dev/null
@@ -1,67 +0,0 @@
-{{ define "body-classes" -}}
- {{ if .Draft }}draft{{ end }} look-sheet-bkg
-{{- end }}
-
-{{ define "breadcrumbs" }}
- <span class="divider">/ </span>
- <a href="{{ .Site.BaseURL }}{{ .CurrentSection.Type }}">{{.CurrentSection.Name}}</a>
-{{ end }}
-
-{{ define "content" }}
-
-<article
- id="main"
- class="content-container look-sheet article-pad-v {{ if (or .Params.disableMarginNotes .Site.Params.disableMarginNotes) }}no-floating-footnotes{{ end }}"
- itemscope
- itemtype="https://schema.org/Article" >
- <meta itemprop="author" content="{{ .Site.Params.Author }}" />
- <meta itemprop="publisher" content="{{ .Site.Params.Author }}" />
- <meta itemprop="image" content="{{ partial "feature_image" . }}" />
- <h1 itemprop="name" id="title">{{ .Title }}</h1>
- <meta itemprop="headline" content="{{ .Title }}" />
- {{ if .Params.tags }}
- <div class="post-tags">
- {{ range .Params.tags }}
- <a href="{{ (urlize (printf "tags/%s/" .)) | absLangURL }}">#{{ . }}</a>&nbsp;
- {{ end }}
- </div>
- {{ end }}
- {{ if eq .Lastmod .Date }}
- <div class="post-date"><span itemprop="datePublished">{{ .Date.Format "January 2, 2006" }}</span></div>
- <meta itemprop="dateModified" content="{{ .Lastmod.Format "January 2, 2006" }}"/>
- {{ else }}
- <div class="post-date">Created: <span itemprop="datePublished">{{ .Date.Format "January 2, 2006" }}</span></div>
- <div class="post-date">Last Edited: <span itemprop="dateModified">{{ .Lastmod.Format "January 2, 2006" }}</span></div>
- {{ end }}
- {{ if .Draft }}
- <div class="post-date">{{ .WordCount }} words</div>
- {{ end }}
- <div itemprop="articleBody" id="content" class="article-body margin-top-2em">
- {{ .Content }}
- </div>
-</article>
-<!-- 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.
--->
-<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 }}