aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/card-meta.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/layouts/partials/card-meta.html')
-rw-r--r--themes/default/layouts/partials/card-meta.html63
1 files changed, 0 insertions, 63 deletions
diff --git a/themes/default/layouts/partials/card-meta.html b/themes/default/layouts/partials/card-meta.html
deleted file mode 100644
index 4359586..0000000
--- a/themes/default/layouts/partials/card-meta.html
+++ /dev/null
@@ -1,63 +0,0 @@
-<micro-thumbnail hidden>
- {{ partial "profile-picture.html" . }}
-</micro-thumbnail>
-
-<section>
- {{ if or .Weight .Params.Liked .Params.feed }}
- <anchored-entry>
- {{- if .Params.feed -}}
- {{ safeHTML (readFile (print (partial "function-paths-static.html") "/icons/feather/rss.svg")) }}
- <a data-hover
- title="{{ partial "author-user.html" . }}@{{ (urls.Parse .Site.BaseURL).Host }}"
- href="{{ .Site.BaseURL }}/{{ partial "author-user.html" . }}/feeds/#">
- via @{{ partial "author-user.html" . }}
- </a>
- {{- end -}}
-
- {{ if .Weight }}
- <anchored-pinned>
- {{ safeHTML (readFile (print (partial "function-paths-static.html") "/icons/tabler/pinned.svg")) }}
- </anchored-pinned>
- <span>Pinned</span>
- {{ end }}
-
- {{ if .Params.Liked }}
- <anchored-liked>
- {{ safeHTML (readFile (print (partial "function-paths-static.html") "/icons/feather/heart.svg")) }}
- </anchored-liked>
- <span>Liked</span>
- {{ end }}
-
- </anchored-entry>
- {{ end }}
-
- {{- partial "meta-name.html" . -}}
-
- &middot; {{ partial "meta-handle.html" . }}
-
- {{ if .Draft }}
- &middot; {{ partial "meta-draft" . -}}
- {{ end }}
-
- &middot; {{- partial "meta-read-time.html" . -}}
-
- &middot; {{- partial "meta-word-count.html" . -}}
-
- {{ if .Params.Unlisted }}
- &middot; <unlisted-entry title="This message is off the record">
- {{ safeHTML (readFile (print (partial "function-paths-static.html") "/icons/feather/eye-off.svg")) }}
- <span>unlisted</span></unlisted-entry>
- {{ end }}
-
- &middot; {{- partial "meta-date-time.html" . -}}
-
- {{- if .ExpiryDate -}}
- &middot; {{- partial "meta-expiry-date.html" . -}}
- {{- end -}}
-
- &middot; <cite><a title="#{{ partial "card-id.html" . }}" href="#{{ partial "card-id.html" . }}">#id</a></cite>
-
- {{ if not .ExpiryDate }}
- &middot; {{ partial "meta-source.html" . -}}
- {{- end -}}
-</section>