From ea464d91aff87a8e8e7e433dfd2c0e98b8a4dcfc Mon Sep 17 00:00:00 2001 From: anoduck <11767-anoduck@users.noreply.gitgud.io> Date: Thu, 3 Oct 2024 16:19:55 -0400 Subject: =?UTF-8?q?fix:=20=F0=9F=90=9B=20broken=20dropdown=20menus?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mod-countup caused dropdown menus to break and lose functionality. BREAKING CHANGE: 🧨 mod-countup removed from site ✅ Closes: #12 --- config/_default/hugo.toml | 4 +- config/_default/menus/menus.en.toml | 125 ++++++++++++++++++++---------------- config/_default/params.toml | 8 +-- 3 files changed, 75 insertions(+), 62 deletions(-) (limited to 'config/_default') diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index d8badd2..263c2c9 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -115,5 +115,5 @@ home = ["HTML", "RSS", "REDIR"] path = "github.com/gethinode/hinode" [[module.imports]] path = "github.com/gethinode/mod-mermaid" - [[module.imports]] - path = "github.com/anoduck/mod-countup" \ No newline at end of file + # [[module.imports]] + # path = "github.com/anoduck/mod-countup" \ No newline at end of file diff --git a/config/_default/menus/menus.en.toml b/config/_default/menus/menus.en.toml index c6814c4..7561af3 100644 --- a/config/_default/menus/menus.en.toml +++ b/config/_default/menus/menus.en.toml @@ -1,3 +1,7 @@ +# Menu configuration +# ------------------ + +# Main Menu [[main]] name = "Home" pageRef = "/" @@ -5,59 +9,85 @@ [[main]] name = "Tips" - pageRef = "/tips" + pageRef = "/tips/" weight = 15 +# Evidence Submenu [[main]] name = "Evidence" weight = 20 [[main]] name = "Artifacts" - pageRef = "/evidence" + pageRef = "/evidence/" parent = "Evidence" weight = 10 [[main]] name = "Video" - pageRef = "/video" + pageRef = "/video/" parent = "Evidence" weight = 20 [[main]] name = "Emails" - pageRef = "/evidence/emails_index" + pageRef = "/evidence/emails_index/" parent = "Evidence" weight = 30 [[main]] name = "Incidents" - pageRef = "/evidence/otter-timeline" + pageRef = "/evidence/otter-timeline/" parent = "Evidence" weight = 40 [[main]] name = "Persons" - pageRef = "/persons" weight = 30 +[[main]] + name = "Suspects" + pageRef = "/Persons" + parent = "Persons" + weight = 10 + +[[main]] + name = "Chief Douglas Randall Matthews" + pageRef = "/persons/dmatthews" + parent = "Persons" + weight = 20 + +[[main]] + name = "Scott Mayfield Esq." + pageRef = "/persons/smayfield" + parent = "Persons" + weight = 30 + +[[main]] + name = "Anita Buice" + pageRef = "/persons/abuice" + parent = "Persons" + weight = 40 + +# Main Cont'd [[main]] name = "Legal" - pageRef = "/legal" + pageRef = "/legal/" weight = 40 [[main]] name = "Posts" - pageRef = "/posts" + pageRef = "/posts/" weight = 50 +# About Submenu [[main]] name = "About" - weight = 55 + weight = 60 [[main]] name = "About Us" - pageRef = "/about" + pageRef = "/about/" parent = "About" weight = 10 @@ -65,28 +95,30 @@ name = "Contact" pageRef = "https://contact.corruptlamar.com" parent = "About" - weight = 15 + weight = 20 [[main]] name = "Privacy" - pageRef = "/privacy" + pageRef = "/privacy/" parent = "About" - weight = 20 + weight = 30 [[main]] name = "Terms" - pageRef = "/terms" + pageRef = "/terms/" parent = "About" - weight = 30 + weight = 40 +# Main cont'd [[main]] name = "Tags" - pageRef = "/tags" + pageRef = "/tags/" weight = 70 +## Sites Submenu [[main]] name = "Sites" - weight = 60 + weight = 80 [[main]] name = "SolarDump" @@ -100,54 +132,33 @@ parent = "Sites" weight = 20 -[[social]] - name = "Twitter" - pre = "fab fa-x-twitter" - url = "https://twitter.com/solardump" - weight = 10 +# ---------------------------- +# Social Media +# ---------------------------- +# Social Media Entry Not sure what it does. +# [[social]] +# name = "Twitter" +# pre = "fab fa-x-twitter" +# url = "https://twitter.com/solardump" +# weight = 10 # [[social]] # name = "LinkedIn" # pre = "fab linkedin" # url = "https://linkedin.com/" # weight = 10 -# -# [[social]] -# name = "GitHub" -# pre = "fab fa-github" -# url = "https://github.com/" -# weight = 20 -# + # [[social]] # name = "Medium" # pre = "fab medium" # url = "https://medium.com/" # weight = 30 -# toml-docs-start sample-navigation -# [[sample]] -# name = "Posts" -# pageRef = "/posts/" -# weight = 10 - -# [[sample]] -# name = "Projects" -# pageRef = "/projects/" -# weight = 20 - -# [[sample]] -# name = "Sample project" -# pageRef = "/projects/sample-project/" -# parent = "Projects" -# weight = 1 - -# [[sample]] -# name = "Another project" -# pageRef = "/projects/another-project/" -# parent = "Projects" -# weight = 2 -# toml-docs-end sample-navigation +# ---------------------------------- +# Footer Links +# ---------------------------------- +# Evidence Submenu [[footer]] name = "Evidence" weight = 10 @@ -188,6 +199,7 @@ parent = "Evidence" weight = 60 +# Link Submenu [[footer]] name = "Links" weight = 20 @@ -214,23 +226,24 @@ name = "About Us" pageRef = "/about/" parent = "Links" - weight = 10 + weight = 40 [[footer]] name = "Privacy" pageRef = "/privacy/" parent = "Links" - weight = 20 + weight = 50 [[footer]] name = "Terms of Use" pageRef = "/terms/" parent = "Links" - weight = 30 + weight = 60 +# Sites Submenu [[footer]] name = "Sites" - weight = 40 + weight = 30 [[footer]] name = "Solar Dump" diff --git a/config/_default/params.toml b/config/_default/params.toml index b8e4bc1..162a39f 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -13,7 +13,7 @@ cue = false tab = true [main.build] - transpiler = "dartsass" + transpiler = "libsass" [messages] placement = "bottom-right" @@ -35,8 +35,8 @@ style = "gradient-featured" [home.feature] orientation = "stacked" - # Setting below will overwrite gradient feature. - # color = "" + # Setting below or commenting it out will overwrite gradient feature. + color = "" width = 6 align = "start" @@ -44,7 +44,7 @@ anchor = true logo = "logo.svg" color = "body" - # style = "dark" + style = "" fixed = true offset = "5.5rem" search = true -- cgit v1.2.3