aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-06-10 23:57:52 -0400
committertdro <tdro@noreply.example.com>2022-06-10 23:57:52 -0400
commited5ac80fac302574d5643bf6f69066805d520075 (patch)
tree5d8aebfdef22b58f78554133f718f108c998040f
parentf759443d0c4f4d44a48e4dc971778718683c6e0e (diff)
downloadcanory-ed5ac80fac302574d5643bf6f69066805d520075.tar.gz
canory-ed5ac80fac302574d5643bf6f69066805d520075.tar.bz2
canory-ed5ac80fac302574d5643bf6f69066805d520075.zip
themes/default/layouts/partials/meta-date-time: Add edited notification
-rw-r--r--content/canory/messages/code.md2
-rw-r--r--content/canory/messages/definitions.md2
-rw-r--r--content/canory/messages/diagrams.md2
-rw-r--r--content/canory/messages/drafts.md2
-rw-r--r--content/canory/messages/highlighting.md2
-rw-r--r--content/canory/messages/hugo.md2
-rw-r--r--content/canory/messages/imgur-video.md2
-rw-r--r--content/canory/messages/lists.md2
-rw-r--r--content/canory/messages/markdown.md2
-rw-r--r--content/canory/messages/nsfw.md2
-rw-r--r--content/canory/messages/odysee.md2
-rw-r--r--content/canory/messages/pdf.md2
-rw-r--r--content/canory/messages/plumbing.md2
-rw-r--r--content/canory/messages/self.md2
-rw-r--r--content/canory/messages/selfdestruct.md2
-rw-r--r--content/canory/messages/styles.md2
-rw-r--r--content/canory/messages/tables.md2
-rw-r--r--content/canory/messages/tasks.md2
-rw-r--r--content/canory/messages/twitter.md2
-rw-r--r--content/canory/messages/unlisted.md2
-rw-r--r--content/canory/messages/videos.md2
-rw-r--r--content/canory/messages/wikipedia.md2
-rw-r--r--content/canory/messages/xkcd.md2
-rw-r--r--content/canory/messages/youtube.md2
-rw-r--r--content/default/messages/authors.md2
-rw-r--r--content/default/messages/quickstart.md2
-rw-r--r--themes/default/layouts/partials/meta-date-time.html6
27 files changed, 31 insertions, 27 deletions
diff --git a/content/canory/messages/code.md b/content/canory/messages/code.md
index d2bf106..ce38d8b 100644
--- a/content/canory/messages/code.md
+++ b/content/canory/messages/code.md
@@ -1,6 +1,6 @@
+++
date = "2022-03-22T04:45:51+00:00"
-lastmod = "2022-03-29T22:55:17+00:00"
+lastmod = "2022-03-22T04:45:51+00:00"
tags = [ "docs", "code" ]
author = "canory"
+++
diff --git a/content/canory/messages/definitions.md b/content/canory/messages/definitions.md
index f01fb58..5e5be97 100644
--- a/content/canory/messages/definitions.md
+++ b/content/canory/messages/definitions.md
@@ -1,6 +1,6 @@
+++
date = "2022-03-17T04:45:51+00:00"
-lastmod = "2022-03-29T22:55:17+00:00"
+lastmod = "2022-03-17T04:45:51+00:00"
tags = [ "docs", "definitions" ]
author = "canory"
+++
diff --git a/content/canory/messages/diagrams.md b/content/canory/messages/diagrams.md
index cad4aa9..d3a2521 100644
--- a/content/canory/messages/diagrams.md
+++ b/content/canory/messages/diagrams.md
@@ -1,6 +1,6 @@
+++
date = "2022-03-25T04:45:51+00:00"
-lastmod = "2022-03-29T22:55:17+00:00"
+lastmod = "2022-03-25T04:45:51+00:00"
tags = [ "docs", "diagrams", "emojis" ]
author = "canory"
+++
diff --git a/content/canory/messages/drafts.md b/content/canory/messages/drafts.md
index c6caa9f..99d0228 100644
--- a/content/canory/messages/drafts.md
+++ b/content/canory/messages/drafts.md
@@ -1,6 +1,6 @@
+++
date = "2022-03-04T02:44:51+00:00"
-lastmod = "2022-03-29T22:55:17+00:00"
+lastmod = "2022-03-04T02:44:51+00:00"
tags = [ "docs", "drafts" ]
draft = true
author = "canory"
diff --git a/content/canory/messages/highlighting.md b/content/canory/messages/highlighting.md
index 75a112f..4bc2908 100644
--- a/content/canory/messages/highlighting.md
+++ b/content/canory/messages/highlighting.md
@@ -1,6 +1,6 @@
+++
date = "2022-03-24T04:45:51+00:00"
-lastmod = "2022-03-29T22:55:17+00:00"
+lastmod = "2022-03-24T04:45:51+00:00"
tags = [ "docs", "highlighting" ]
author = "canory"
+++
diff --git a/content/canory/messages/hugo.md b/content/canory/messages/hugo.md
index 63698d6..9768e94 100644
--- a/content/canory/messages/hugo.md
+++ b/content/canory/messages/hugo.md
@@ -1,6 +1,6 @@
+++
date = "2022-03-26T04:45:51+00:00"
-lastmod = "2022-03-29T22:55:17+00:00"
+lastmod = "2022-03-26T04:45:51+00:00"
tags = [ "docs", "hugo" ]
author = "canory"
+++
diff --git a/content/canory/messages/imgur-video.md b/content/canory/messages/imgur-video.md
index 47260b7..6ed82c6 100644
--- a/content/canory/messages/imgur-video.md
+++ b/content/canory/messages/imgur-video.md
@@ -1,6 +1,6 @@
+++
date = "2022-03-19T04:45:51+00:00"
-lastmod = "2022-03-29T22:55:17+00:00"
+lastmod = "2022-03-19T04:45:51+00:00"
tags = [ "docs", "imgur" ]
author = "canory"
+++
diff --git a/content/canory/messages/lists.md b/content/canory/messages/lists.md
index 4fd78dc..239b7df 100644
--- a/content/canory/messages/lists.md
+++ b/content/canory/messages/lists.md
@@ -1,6 +1,6 @@
+++
date = "2022-03-12T02:44:51+00:00"
-lastmod = "2022-03-29T22:55:17+00:00"
+lastmod = "2022-03-12T02:44:51+00:00"
tags = [ "docs", "lists" ]
author = "canory"
+++
diff --git a/content/canory/messages/markdown.md b/content/canory/messages/markdown.md
index a6bec81..2fbffb0 100644
--- a/content/canory/messages/markdown.md
+++ b/content/canory/messages/markdown.md
@@ -1,6 +1,6 @@
+++
date = "2022-03-14T04:45:51+00:00"
-lastmod = "2022-03-29T22:55:17+00:00"
+lastmod = "2022-03-14T04:45:51+00:00"
tags = [ "docs", "markdown" ]
author = "canory"
+++
diff --git a/content/canory/messages/nsfw.md b/content/canory/messages/nsfw.md
index b3bdd5f..0f24896 100644
--- a/content/canory/messages/nsfw.md
+++ b/content/canory/messages/nsfw.md
@@ -1,6 +1,6 @@
+++
date = "2022-03-09T02:43:51+00:00"
-lastmod = "2022-03-29T22:55:17+00:00"
+lastmod = "2022-03-09T02:43:51+00:00"
tags = [ "docs", "nsfw" ]
nsfw = "1"
author = "canory"
diff --git a/content/canory/messages/odysee.md b/content/canory/messages/odysee.md
index eaa8e8c..2080f94 100644
--- a/content/canory/messages/odysee.md
+++ b/content/canory/messages/odysee.md
@@ -1,6 +1,6 @@
+++
date = "2022-03-03T02:44:51+00:00"
-lastmod = "2022-03-29T22:55:17+00:00"
+lastmod = "2022-03-03T02:44:51+00:00"
tags = [ "docs", "odysee" ]
author = "canory"
+++
diff --git a/content/canory/messages/pdf.md b/content/canory/messages/pdf.md
index f0aecba..74ff0be 100644
--- a/content/canory/messages/pdf.md
+++ b/content/canory/messages/pdf.md
@@ -1,6 +1,6 @@
+++
date = "2022-03-07T02:20:51+00:00"
-lastmod = "2022-03-29T22:55:17+00:00"
+lastmod = "2022-03-07T02:20:51+00:00"
tags = [ "docs", "pdf" ]
author = "canory"
+++
diff --git a/content/canory/messages/plumbing.md b/content/canory/messages/plumbing.md
index c6ca6c2..4dbee64 100644
--- a/content/canory/messages/plumbing.md
+++ b/content/canory/messages/plumbing.md
@@ -1,6 +1,6 @@
+++
date = "2022-03-10T02:44:51+00:00"
-lastmod = "2022-03-29T22:55:17+00:00"
+lastmod = "2022-03-10T02:44:51+00:00"
tags = [ "docs", "plumbing" ]
author = "canory"
+++
diff --git a/content/canory/messages/self.md b/content/canory/messages/self.md
index fef7f91..ac86e20 100644
--- a/content/canory/messages/self.md
+++ b/content/canory/messages/self.md
@@ -1,6 +1,6 @@
+++
date = "2022-03-02T02:44:51+00:00"
-lastmod = "2022-03-29T22:55:17+00:00"
+lastmod = "2022-03-02T02:44:51+00:00"
tags = [ "docs", "self" ]
author = "canory"
+++
diff --git a/content/canory/messages/selfdestruct.md b/content/canory/messages/selfdestruct.md
index 60f6b61..a793638 100644
--- a/content/canory/messages/selfdestruct.md
+++ b/content/canory/messages/selfdestruct.md
@@ -1,6 +1,6 @@
+++
date = "2022-03-08T02:20:51+00:00"
-lastmod = "2022-03-29T22:55:17+00:00"
+lastmod = "2022-03-08T02:20:51+00:00"
expirydate = "2122-04-29T22:55:17+00:00"
tags = [ "docs", "selfdestruct" ]
author = "canory"
diff --git a/content/canory/messages/styles.md b/content/canory/messages/styles.md
index b3c839a..2cb8e5c 100644
--- a/content/canory/messages/styles.md
+++ b/content/canory/messages/styles.md
@@ -1,6 +1,6 @@
+++
date = "2022-03-23T04:45:51+00:00"
-lastmod = "2022-03-29T22:55:17+00:00"
+lastmod = "2022-03-23T04:45:51+00:00"
tags = [ "docs", "styles" ]
author = "canory"
+++
diff --git a/content/canory/messages/tables.md b/content/canory/messages/tables.md
index 2840c23..cba9818 100644
--- a/content/canory/messages/tables.md
+++ b/content/canory/messages/tables.md
@@ -1,6 +1,6 @@
+++
date = "2022-03-04T02:44:51+00:00"
-lastmod = "2022-03-29T22:55:17+00:00"
+lastmod = "2022-03-04T02:44:51+00:00"
tags = [ "docs", "tables" ]
author = "canory"
+++
diff --git a/content/canory/messages/tasks.md b/content/canory/messages/tasks.md
index 7da9178..4e23d74 100644
--- a/content/canory/messages/tasks.md
+++ b/content/canory/messages/tasks.md
@@ -1,6 +1,6 @@
+++
date = "2022-03-13T03:44:51+00:00"
-lastmod = "2022-03-29T22:55:17+00:00"
+lastmod = "2022-03-13T03:44:51+00:00"
tags = [ "docs", "tasks" ]
author = "canory"
+++
diff --git a/content/canory/messages/twitter.md b/content/canory/messages/twitter.md
index e15c1c3..945a18d 100644
--- a/content/canory/messages/twitter.md
+++ b/content/canory/messages/twitter.md
@@ -1,6 +1,6 @@
+++
date = "2022-03-15T03:45:51+00:00"
-lastmod = "2022-03-29T22:55:17+00:00"
+lastmod = "2022-03-15T03:45:51+00:00"
tags = [ "docs", "twitter" ]
author = "canory"
+++
diff --git a/content/canory/messages/unlisted.md b/content/canory/messages/unlisted.md
index 60f8074..53d9f2f 100644
--- a/content/canory/messages/unlisted.md
+++ b/content/canory/messages/unlisted.md
@@ -1,6 +1,6 @@
+++
date = "2022-03-08T02:20:51+00:00"
-lastmod = "2022-03-29T22:55:17+00:00"
+lastmod = "2022-03-08T02:20:51+00:00"
tags = [ "docs", "unlisted" ]
unlisted = true
author = "canory"
diff --git a/content/canory/messages/videos.md b/content/canory/messages/videos.md
index c71233c..4cb04b2 100644
--- a/content/canory/messages/videos.md
+++ b/content/canory/messages/videos.md
@@ -1,6 +1,6 @@
+++
date = "2022-03-20T04:45:51+00:00"
-lastmod = "2022-03-29T22:55:17+00:00"
+lastmod = "2022-03-20T04:45:51+00:00"
tags = [ "docs", "videos" ]
author = "canory"
+++
diff --git a/content/canory/messages/wikipedia.md b/content/canory/messages/wikipedia.md
index 7ea8b20..cb65635 100644
--- a/content/canory/messages/wikipedia.md
+++ b/content/canory/messages/wikipedia.md
@@ -1,6 +1,6 @@
+++
date = "2022-03-06T02:20:51+00:00"
-lastmod = "2022-03-29T22:55:17+00:00"
+lastmod = "2022-03-06T02:20:51+00:00"
tags = [ "docs", "wikipedia" ]
author = "canory"
+++
diff --git a/content/canory/messages/xkcd.md b/content/canory/messages/xkcd.md
index fd3ad6a..146b9c9 100644
--- a/content/canory/messages/xkcd.md
+++ b/content/canory/messages/xkcd.md
@@ -1,6 +1,6 @@
+++
date = "2022-03-18T04:45:51+00:00"
-lastmod = "2022-03-29T22:55:17+00:00"
+lastmod = "2022-03-18T04:45:51+00:00"
tags = [ "docs", "xkcd" ]
author = "canory"
+++
diff --git a/content/canory/messages/youtube.md b/content/canory/messages/youtube.md
index bad32be..2bf9ecd 100644
--- a/content/canory/messages/youtube.md
+++ b/content/canory/messages/youtube.md
@@ -1,6 +1,6 @@
+++
date = "2022-03-16T04:45:51+00:00"
-lastmod = "2022-03-29T22:55:17+00:00"
+lastmod = "2022-03-16T04:45:51+00:00"
tags = [ "docs", "YouTube" ]
author = "canory"
+++
diff --git a/content/default/messages/authors.md b/content/default/messages/authors.md
index 3db9714..85d46c5 100644
--- a/content/default/messages/authors.md
+++ b/content/default/messages/authors.md
@@ -1,6 +1,6 @@
+++
date = "2022-03-14T04:35:51+00:00"
-lastmod = "2022-03-29T22:55:17+00:00"
+lastmod = "2022-03-14T04:35:51+00:00"
tags = [ "docs", "authors" ]
+++
diff --git a/content/default/messages/quickstart.md b/content/default/messages/quickstart.md
index e018bf8..917b171 100644
--- a/content/default/messages/quickstart.md
+++ b/content/default/messages/quickstart.md
@@ -1,6 +1,6 @@
+++
date = "2022-03-05T03:45:51+00:00"
-lastmod = "2022-03-29T22:55:17+00:00"
+lastmod = "2022-03-05T03:45:51+00:00"
tags = [ "docs", "hugo", "quickstart" ]
author = "default"
+++
diff --git a/themes/default/layouts/partials/meta-date-time.html b/themes/default/layouts/partials/meta-date-time.html
index e254639..cac7e68 100644
--- a/themes/default/layouts/partials/meta-date-time.html
+++ b/themes/default/layouts/partials/meta-date-time.html
@@ -7,8 +7,12 @@
{{ end }}
<time
datetime="{{ .Date | time.Format "2006-01-02T15:04:05Z" }}"
- title="{{ .Date | time.Format "Monday, January 2, 2006 at 15:04:05 MST" }}">
+ title="{{ .Date | time.Format "Posted: Monday, January 2, 2006 at 15:04:05 MST" }}
+{{ if .Lastmod.After .Date }}{{ .Lastmod | time.Format "Edited: Monday, January 2, 2006 at 15:04:05 MST" }}{{ end }}">
{{ (.Date.Local | time.Format "3:04 PM Jan 2 2006") -}}
+ {{ if .Lastmod.After .Date }}
+ (edited)
+ {{ end }}
</time>
{{- /* This comment removes trailing newlines and white spaces. */ -}}
</a>