diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2022-07-25 16:38:26 +0100 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2022-07-25 16:38:26 +0100 |
commit | 1805cef767e8eac946e08efcb5a4c47811f01369 (patch) | |
tree | 57fcc001b130730edfe790eaff47f380c6f56561 | |
parent | 342f179e97e4aa42dc971f5a714a92e581741898 (diff) |
added stream page and email address
-rw-r--r-- | archetypes/stream.md | 5 | ||||
-rw-r--r-- | config.toml | 10 | ||||
-rw-r--r-- | content/about/index.md | 2 | ||||
-rw-r--r-- | content/stream/2022-07-25.md | 9 | ||||
-rw-r--r-- | content/stream/_index.md | 1 | ||||
-rw-r--r-- | layouts/stream/list.html | 12 |
6 files changed, 37 insertions, 2 deletions
diff --git a/archetypes/stream.md b/archetypes/stream.md new file mode 100644 index 0000000..b8f77d6 --- /dev/null +++ b/archetypes/stream.md @@ -0,0 +1,5 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: false +--- diff --git a/config.toml b/config.toml index 29d0fc7..4f6061d 100644 --- a/config.toml +++ b/config.toml @@ -12,7 +12,7 @@ pygmentsUseClasses = true dark = "off" highlight = true custom_css = ["css/style.css"] - mainSections = ['blog', 'about', 'reading'] + mainSections = ['blog', 'about', 'stream', 'reading'] [menu] [[menu.main]] @@ -24,6 +24,14 @@ pygmentsUseClasses = true post = '| ' [[menu.main]] + identifier = "stream" + name = "Stream" + title = "Stream" + url = "/stream/" + weight = 20 + post = '| ' + + [[menu.main]] identifier = "about" name = "About" title = "about" diff --git a/content/about/index.md b/content/about/index.md index 27793a5..bc4ec84 100644 --- a/content/about/index.md +++ b/content/about/index.md @@ -15,6 +15,6 @@ I have [three cats that kill](../blog/cats/cat_kills/). --- -[Github](https://github.com/yulqen) +[Github](https://github.com/yulqen) | 📧 [Email](mailto:y@yulqen.org) [GPG](../keys/mrl-gpg.pub) (fingerprint: 19014642A9FCD633B886B8F59C9841C3EF4E0B8E) diff --git a/content/stream/2022-07-25.md b/content/stream/2022-07-25.md new file mode 100644 index 0000000..a8e4f8a --- /dev/null +++ b/content/stream/2022-07-25.md @@ -0,0 +1,9 @@ +--- +title: "2022 07 25" +date: 2022-07-25T15:53:11+01:00 +draft: false +--- + +Been out and about in Fife today. At times, wet. + +Added an [email address](mailto:y@yulqen.org) to the [About](../about) page, just in case anyone wishes to say hello. diff --git a/content/stream/_index.md b/content/stream/_index.md new file mode 100644 index 0000000..62cf259 --- /dev/null +++ b/content/stream/_index.md @@ -0,0 +1 @@ +Short temporal updates for my benefit. Antisocial. diff --git a/layouts/stream/list.html b/layouts/stream/list.html new file mode 100644 index 0000000..940c1c9 --- /dev/null +++ b/layouts/stream/list.html @@ -0,0 +1,12 @@ +{{ define "main" }} +<h2>{{ with .Site.GetPage "section" "stream" }}{{ .Title }}{{ end }}</h2> + +{{ .Content }} + +{{ range where site.RegularPages "Section" "stream" }} + <h3>{{ .Date.Format "Monday, 2 January 2006" }}</h3> + {{ .Content }} + <hr class="new1"> +{{ end }} + +{{ end }} |