From fe2206646b34a84dc0566890fc5c4722a36e5988 Mon Sep 17 00:00:00 2001 From: "Devon (tek256)" Date: Wed, 25 Sep 2024 15:06:55 -0700 Subject: [PATCH] Menu ordering/etc --- config/_default/menus.en.toml | 8 ++-- config/_default/params.toml | 2 +- content/english/_index.md | 32 +++++++++------- layouts/index.html | 72 ++++++++++++++++++++++++++++++----- 4 files changed, 87 insertions(+), 27 deletions(-) diff --git a/config/_default/menus.en.toml b/config/_default/menus.en.toml index 8b0a1c5..a55a4e8 100644 --- a/config/_default/menus.en.toml +++ b/config/_default/menus.en.toml @@ -64,12 +64,12 @@ weight = 1 [[footer]] name = "Contact" url = "/contact" -weight = 2 +weight = 6 [[footer]] name = "Members" url = "https://donorbox.org/handmadecities" -weight = 3 +weight = 5 [[footer]] name = "Meetups" @@ -79,9 +79,9 @@ weight = 3 [[footer]] name = "Seattle" url = "/meetups" -weight = 3 +weight = 2 [[footer]] name = "Boston" url = "/meetups" -weight = 3 \ No newline at end of file +weight = 4 \ No newline at end of file diff --git a/config/_default/params.toml b/config/_default/params.toml index 2f69694..3350d66 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -27,7 +27,7 @@ google_adsense = "" # example: ca-pub-xxxxxxxxxxxxxxxx # custom script on header, example: custom_script= "" custom_script = "" # copyright -copyright = "Designed & Developed by [Zeon Studio](https://zeon.studio)" +copyright = "© 2024 Handmade Cities LLC" # Preloader # preloader module: https://github.com/gethugothemes/hugo-modules/tree/master/components/preloader diff --git a/content/english/_index.md b/content/english/_index.md index 2cd5362..a0b9412 100644 --- a/content/english/_index.md +++ b/content/english/_index.md @@ -4,6 +4,18 @@ banner: title: "Boston in the Summer.
Seattle in the fall.
Meetups all year round." content: "We are the largest indie conferences for low-level programmers. This is your portal to meet with folks into graphics, game engines, kernels, compilers, and more!" image: "/images/hmc_spread.png" + hide_banner_img: false + triple_header: + enable: true + img_left: "" + alt_text_left: "left" + link_left: "https://google.com" + img_center: "" + alt_text_center: "center" + link_center: "https://tek256.com" + img_right: "" + link_right: "https://github.com" + alt_text_right: "right" parallax_bg: "/images/test_bg.jpg" button: enable: true @@ -18,20 +30,14 @@ banner: # Features features: - - title: "What's Included in Hugoplate" - image: "/images/service-1.png" - content: "Hugoplate is a comprehensive starter template that includes everything you need to get started with your Hugo project. What's Included in Hugoplate" - bulletpoints: - - "10+ Pre-build pages" - - "95+ Google Pagespeed Score" - - "Build with Hugo and TailwindCSS for easy and customizable styling" - - "Fully responsive on all devices" - - "SEO-optimized for better search engine rankings" - - "**Open-source and free** for personal and commercial use" + - title: "Inspired by Handmade Hero" + image: "" + side: "center" + content: "Like [Handmade Hero]() by Molly Rocket, we belive in breaking software down to the bare bones and building back an understanding of how it all really works. _We are not affiliated with Molly Rocket, Inc._" button: - enable: false - label: "Get Started Now" - link: "#" + enable: enable + label: "About Us" + link: "/about" - title: "Discover the Key Features Of Hugo" image: "/images/service-2.png" diff --git a/layouts/index.html b/layouts/index.html index 8d20538..ad76853 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -4,8 +4,38 @@
+ {{ if not .hide_banner_img }} +
+ {{ partial "image" (dict "Src" .image "Alt" "Banner image" "Loading" "eager" "Class" "mx-auto lg:!max-w-[800px]" "DisplayXL" "800x" ) }} +
+ {{ end }} + + {{ with .triple_header }} + {{ if .enable }} + + {{ end }} + {{ end }} +
-

+

{{ .title | markdownify }}

@@ -20,30 +50,53 @@ target="_blank" rel="noopener" {{ end }}> {{ .label }} - + {{ end }} {{ end }} -

-
- {{ partial "image" (dict "Src" .image "Alt" "Banner image" "Loading" "eager" "Class" "mx-auto lg:!max-w-[800px]" "DisplayXL" "800x" ) }} +
+ {{ with .button2 }} + {{ if .enable }} + + {{ .label }} + + + {{ end }} + {{ end }}
{{ end }} - {{ range $i, $e:= .Params.features }} -
+
-
+ {{ if .image }} {{ partial "image" (dict "Src" .image "Alt" "feature image" "DisplayXL" "520x" "DisplayLG" "425x" "DisplayMD" "360x") }} + {{ end }}