summaryrefslogtreecommitdiffstats
path: root/indieweb-micro/themes/MinIndie/layouts/_default/single.html
diff options
context:
space:
mode:
Diffstat (limited to 'indieweb-micro/themes/MinIndie/layouts/_default/single.html')
-rw-r--r--indieweb-micro/themes/MinIndie/layouts/_default/single.html75
1 files changed, 0 insertions, 75 deletions
diff --git a/indieweb-micro/themes/MinIndie/layouts/_default/single.html b/indieweb-micro/themes/MinIndie/layouts/_default/single.html
deleted file mode 100644
index 2ab1f0a..0000000
--- a/indieweb-micro/themes/MinIndie/layouts/_default/single.html
+++ /dev/null
@@ -1,75 +0,0 @@
-{{ define "main" }}
-{{ $ageDays := div (sub now.Unix .Date.Unix) 86400 }}
- <main>
- <article class="h-entry">
- <a class="u-bridgy-fed" href="https://fed.brid.gy/" hidden="from-humans"></a>
- <h1 class="p-name">{{ .Title }}</h1>
- <div hidden>{{ partial "bio-hcard.html" . }}</div>
-
- {{ if .Date }}
- <div><b>
- <time class="dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05-07:00" }}">
- {{ .Date.Format (default "2006-01-02 15:04:05" .Site.Params.dateFmt) }}
- </time>
- - <a href="{{ .Permalink }}" class="u-url u-uid" >Permalink</a>
- </b></div>
- {{ end }}
-
- {{- if or .Params.categories .Params.tags -}}
- <div class="article-meta">
- {{- with .Params.categories -}}
- <span class="categories">
- Categories:
- {{ range . }}
- <a href="{{ "/categories/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
- {{ end }}
- </span>
- {{- end -}}
- {{- if and .Params.categories .Params.tags -}}
- --
- {{- end -}}
- {{- with .Params.tags -}}
- <span class="tags">
- Tags:
- {{ range . }}
- #<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}" class="p-category">{{ . }}</a>
- {{ end }}
- </span>
- {{- end -}}
- </div>
- {{- end -}}
-
- {{- with .Site.Params.tagPostOlderThanXDays -}}
- {{- if and (gt $ageDays .) (eq $.Type "posts") -}}
- {{ partial "article-old-content.html" . }}
- {{- end -}}
- {{- end -}}
-
- {{- partial "article-precontent.html" . -}}
-
- {{- if .Params.toc -}}
- <div class="toc noprint">
- <h2>Table of Content</h2>
- <aside>
- {{ .TableOfContents }}
- </aside>
- </div>
- {{- end -}}
-
- <div class="e-content">
- {{ .Content }}
- </div>
-
- {{ partial "article-extra.html" . }}
-
- {{ if .Site.Params.enableNextPrevPages }}
- {{ partial "article-prevnext.html" . }}
- {{ end }}
-
- {{ if .Site.Params.enableRelatedPages }}
- {{ partial "article-related.html" . }}
- {{ end }}
- {{ partial "webmentions.html" . }}
- </article>
- </main>
-{{ end }}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage