summaryrefslogtreecommitdiffstats
path: root/indieweb-micro/themes/MinIndie/layouts/notes
diff options
context:
space:
mode:
Diffstat (limited to 'indieweb-micro/themes/MinIndie/layouts/notes')
-rw-r--r--indieweb-micro/themes/MinIndie/layouts/notes/notes.html42
-rw-r--r--indieweb-micro/themes/MinIndie/layouts/notes/single.html44
2 files changed, 0 insertions, 86 deletions
diff --git a/indieweb-micro/themes/MinIndie/layouts/notes/notes.html b/indieweb-micro/themes/MinIndie/layouts/notes/notes.html
deleted file mode 100644
index 23aa6d9..0000000
--- a/indieweb-micro/themes/MinIndie/layouts/notes/notes.html
+++ /dev/null
@@ -1,42 +0,0 @@
-{{ define "main" }}
- <main>
- {{ $pageKind := .Kind }}
- {{ if or .Title .Content }}
- <div>
- {{ with .Title }}
- <h1>
- {{ . }}
- <a href="/notes/index.xml"><img style="height:1.5rem; display: inline;" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-label='RSS' role='img' viewBox='0 0 512 512'%3E%3Cpath d='M0 0h512v512H0' fill='%23f80'/%3E%3Cpath d='M109 271A132 133 0 0 1 241 403h60A192 193 0 0 0 109 211v-54A246 247 0 0 1 355 403h60A306 307 0 0 0 109 97m35 235a35 35 0 1 0 2 0' fill='%23fff'/%3E%3C/svg%3E" alt="RSS icon" /></a>
- <a href="https://indieweb.org/h-feed" target="_blank"><img style="height:1.5rem; display: inline;" src="/images/H_Feed_icon.svg" alt="h-feed icon" /></a>
- </h1>
- {{ end }}
- {{ with .Content }}<div class="justify">{{ . }}</div>{{ end }}
- </div>
- {{ end }}
-
- <div class="h-feed">
- {{ range .Pages }}
- <div class="h-entry note">
- <div hidden>
- {{ partial "bio-hcard.html" . }}
- </div>
- <p class="p-content">
- {{ .Content }}
- </p>
-
- <time class="date dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05-07:00" }}">
- <a href="{{ .RelPermalink }}">{{ .Date.Format "2006-01-02 15:04" }}</a>
- </time>
-
- {{ with .Params.Tags }}
- - Tags:
- {{ range . }}
- #<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}" class="p-category">{{ . }}</a>
- {{ end }}
- {{ end }}
- </div>
- {{ end }}
- </div>
-
- </main>
-{{ end }}
diff --git a/indieweb-micro/themes/MinIndie/layouts/notes/single.html b/indieweb-micro/themes/MinIndie/layouts/notes/single.html
deleted file mode 100644
index 7b96f5c..0000000
--- a/indieweb-micro/themes/MinIndie/layouts/notes/single.html
+++ /dev/null
@@ -1,44 +0,0 @@
-{{ define "main" }}
-{{ $ageDays := div (sub now.Unix .Date.Unix) 86400 }}
- <main>
- <article class="h-entry">
- <div hidden>{{ partial "bio-hcard.html" . }}</div>
- <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>
-
- {{- 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 -}}
-
- {{- partial "article-precontent.html" . -}}
-
- <div class="e-content">
- {{ .Content }}
- </div>
- </article>
- </main>
-{{ end }}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage