From 948cc7a19a80f9f46fa79572b34d9894d57d5702 Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Sat, 18 Mar 2023 20:53:07 -0500 Subject: [PATCH] feat: Switch sidebar to use Hugo menu --- content/_index.html | 6 +++++ content/academia/_index.md | 7 +++++ content/ai/_index.md | 6 +++++ content/contact/_index.html | 7 +++++ content/videos/_index.md | 5 ++++ content/websites/_index.md | 6 +++++ layouts/partials/sidebar.html | 49 ++++++++++------------------------- 7 files changed, 51 insertions(+), 35 deletions(-) diff --git a/content/_index.html b/content/_index.html index 1c1e3a7..66a7a7c 100644 --- a/content/_index.html +++ b/content/_index.html @@ -4,6 +4,12 @@ cardImage: charolette motto: My name is Thomas Christensen
I am Milliron X description: The homepage of Thomas A. Christensen II layout: _default/list +menu: + main: + params: + prefix: fad + icon: fa-home + weight: -1000 ---

What is a "Milliron X"?

diff --git a/content/academia/_index.md b/content/academia/_index.md index 390da5b..f4b87eb 100644 --- a/content/academia/_index.md +++ b/content/academia/_index.md @@ -3,6 +3,13 @@ title: Academic Publications and Presentations motto: Publications and Presentations cardImage: library decription: A list of my academic publications +menu: + main: + name: Academia + params: + prefix: fad + icon: fa-university + weight: 20 --- ### Academic Papers diff --git a/content/ai/_index.md b/content/ai/_index.md index d9fd664..4efbf08 100644 --- a/content/ai/_index.md +++ b/content/ai/_index.md @@ -4,6 +4,12 @@ cardImage: Ai-calf motto: Artificial Insemination description: Advertising page to try and sell my artificial insemination services +menu: + main: + params: + prefix: fax + icon: fa-bull-sperm + weight: 30 --- I am licensed in the Great State of Wyoming as a food animal artificial diff --git a/content/contact/_index.html b/content/contact/_index.html index 6d62e29..111ea2e 100644 --- a/content/contact/_index.html +++ b/content/contact/_index.html @@ -3,6 +3,13 @@ title: Contact Me cardImage: venice-mailbox motto: Contact Me description: Contact form to get ahold of me +menu: + main: + name: Contact + params: + prefix: fad + icon: fa-file-signature + weight: 1 ---
### The culmination of all art forms is that of film. diff --git a/content/websites/_index.md b/content/websites/_index.md index 0185a0f..7dd0d7a 100644 --- a/content/websites/_index.md +++ b/content/websites/_index.md @@ -3,6 +3,12 @@ title: My Websites cardImage: eclipse motto: Websites description: List of websites that I have worked on +menu: + main: + name: Websites + params: + prefix: fad + icon: fa-browser --- I do occasionally build websites for myself and other people. Here is a list of diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 42b5f08..ae469d4 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -1,4 +1,5 @@ {{ $millironx := resources.Get "graphics/millironx.svg" }} +{{ $currentPage := . }}