From bdc302aafdb9001936b7f9f60178efcfe1893667 Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Wed, 16 Feb 2022 21:25:34 -0800 Subject: [PATCH] Fix nav data - Uppercase - Add standard metada to "about" page. --- config.toml | 8 ++++---- content/about/index.md | 2 +- layouts/_default/single.html | 33 +++++++++++++++++++-------------- 3 files changed, 24 insertions(+), 19 deletions(-) diff --git a/config.toml b/config.toml index eb0a3af..6ded6dc 100644 --- a/config.toml +++ b/config.toml @@ -27,28 +27,28 @@ nick = "Seirdy" [menu] [[menu.main]] identifier = "posts" - name = "posts" + name = "Posts" title = "posts" url = "/posts.html" weight = 10 [[menu.main]] identifier = "about" - name = "about" + name = "About" title = "about" url = "/about.html" weight = 20 [[menu.main]] identifier = "resume" - name = "resume" + name = "Resume" title = "resume" url = "/resume.html" weight = 30 [[menu.main]] identifier = "rss" - name = "rss" + name = "RSS" title = "rss" url = "/posts/index.xml" weight = 40 diff --git a/content/about/index.md b/content/about/index.md index 4bea573..0b53e4d 100644 --- a/content/about/index.md +++ b/content/about/index.md @@ -1,7 +1,7 @@ --- date: 2020-10-30 layout: post -title: Seirdy (Rohan Kumar) +title: About Seirdy (Rohan Kumar) --- Rohan Kumar : He/Him : Age 21 diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 00c33e0..c7cdbe8 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,21 +1,26 @@ {{ define "main" }} -
-
+
+
-

{{ .Title }}

- {{ $lastmod := .Lastmod -}} - {{ if lt .Date $lastmod -}} - Originally posted by {{- partial "indieweb-author.html" -}} on his website - {{- with .OutputFormats.Get "gemtext" }} - and Gemini capsule - {{- end -}} -
- Last updated . Changelog - {{ else -}} - Posted by {{- partial "indieweb-author.html" -}} +

{{ .Title }}

+ + on his Website + {{ with .OutputFormats.Get "gemtext" -}} + and Gemini capsule + {{- end -}} + {{ if lt .Date .Lastmod -}} +
+ Last updated . Changelog {{ end }} +
+ + {{ .WordCount }} words, a {{ .ReadingTime }} minute read +
-
+
{{ partial "processed-content" . -}}