From 16e8d00ebe6d49c4044a49578ed2abefcd949f25 Mon Sep 17 00:00:00 2001 From: Eric Wagoner Date: Thu, 29 Dec 2022 10:15:26 -0500 Subject: [PATCH] sidebar layout tweaks --- config.toml | 17 ++++++++++++++++- layouts/_default/baseof.html | 26 +++++++++++++++++++++++++- 2 files changed, 41 insertions(+), 2 deletions(-) diff --git a/config.toml b/config.toml index 21492f52..651d0031 100644 --- a/config.toml +++ b/config.toml @@ -51,8 +51,23 @@ theme = "m10c" name = "Tags" url = "/tags/" weight = 2 - [[menu.main]] + [[menu.secondary]] + identifier = "then" + name = "Past" + url = "/then/" + weight = 1 + [[menu.secondary]] identifier = "now" name = "Now" url = "/now/" + weight = 2 + [[menu.secondary]] + identifier = "upcoming" + name = "Future" + url = "/upcoming/" + weight = 3 + [[menu.tertiary]] + identifier = "mytweets" + name = "Local Tweet Archive" + url = "/mytweets/" weight = 3 \ No newline at end of file diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 1171ee4e..6bf953f2 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -23,6 +23,8 @@
{{ .Site.Params.author | default {{ .Site.Title }} +

{{ .Site.Params.description | default "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vehicula turpis sit amet elit pretium." }}

+ Blog Navigation {{- with .Site.Menus.main }} {{- end }} -

{{ .Site.Params.description | default "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vehicula turpis sit amet elit pretium." }}

+ {{- with .Site.Menus.secondary }} +
What I am doing in the + + {{- end }} + {{- with .Site.Menus.tertiary }} +
Auxillary Pages + + {{- end }} +
Me Elsewhere on the Internet {{- with .Site.Params.social }}
{{ range . }}