feat: migrate Hugo Bootstrap theme to latest Hugo with Tailwind CSS and refactor codebase
* replace Bootstrap-based styling with Tailwind CSS * update theme compatibility for latest Hugo version * refactor templates and partials * fix outdated code and broken components * improve project structure and maintainability * optimize styling and frontend build setup
This commit is contained in:
6
exampleSite/config/_default/languages.toml
Executable file
6
exampleSite/config/_default/languages.toml
Executable file
@@ -0,0 +1,6 @@
|
||||
################ English language ##################
|
||||
[en]
|
||||
label = "En"
|
||||
locale = "en-us"
|
||||
contentDir = "content/english"
|
||||
weight = 1
|
||||
72
exampleSite/config/_default/menus.en.toml
Executable file
72
exampleSite/config/_default/menus.en.toml
Executable file
@@ -0,0 +1,72 @@
|
||||
############# English navigation ##############
|
||||
|
||||
# main menu
|
||||
[[main]]
|
||||
name = "Home"
|
||||
url = "/"
|
||||
weight = 1
|
||||
|
||||
[[main]]
|
||||
name = "About"
|
||||
url = "/about"
|
||||
weight = 2
|
||||
|
||||
[[main]]
|
||||
name = "Portfolio"
|
||||
url = "/portfolio"
|
||||
weight = 3
|
||||
|
||||
[[main]]
|
||||
name = "Blog"
|
||||
url = "/blog"
|
||||
weight = 4
|
||||
|
||||
|
||||
# footer menu
|
||||
# Contact section
|
||||
[[footer_01]]
|
||||
name = "Contact Info" # This acts as the section title
|
||||
title = true # Flag to identify this as a section title
|
||||
weight = 0 # Lower weight to appear first
|
||||
|
||||
[[footer_01]]
|
||||
name = "713 Elmwood St. Prior Lake, MN 55372"
|
||||
url = "https://www.google.com/maps?q=713+Elmwood+St,+Prior+Lake,+MN+55372"
|
||||
weight = 1
|
||||
|
||||
[[footer_01]]
|
||||
name = "409-896-1444"
|
||||
url = "tell:409-896-1444"
|
||||
weight = 2
|
||||
|
||||
[[footer_01]]
|
||||
name = "info@roxo.co"
|
||||
url = "mailto:info@roxo.co"
|
||||
weight = 3
|
||||
|
||||
# Sitemap section
|
||||
[[footer_02]]
|
||||
name = "Sitemap" # This acts as the section title
|
||||
title = true # Flag to identify this as a section title
|
||||
weight = 0 # Lower weight to appear first
|
||||
|
||||
[[footer_02]]
|
||||
name = "Elements"
|
||||
url = "/elements"
|
||||
weight = 1
|
||||
|
||||
[[footer_02]]
|
||||
name = "Projects"
|
||||
url = "/projects"
|
||||
weight = 2
|
||||
|
||||
[[footer_02]]
|
||||
name = "Blog"
|
||||
url = "/blog"
|
||||
weight = 3
|
||||
|
||||
[[footer_02]]
|
||||
name = "Contact"
|
||||
url = "/contact"
|
||||
weight = 4
|
||||
|
||||
73
exampleSite/config/_default/module.toml
Normal file
73
exampleSite/config/_default/module.toml
Normal file
@@ -0,0 +1,73 @@
|
||||
[hugoVersion]
|
||||
extended = true
|
||||
min = "0.158.0"
|
||||
max = "0.165.0"
|
||||
|
||||
[[imports]]
|
||||
path = "github.com/gethugothemes/hugo-modules/llms-txt"
|
||||
|
||||
[[imports]]
|
||||
path = "github.com/gethugothemes/hugo-modules/pwa"
|
||||
|
||||
[[imports]]
|
||||
path = "github.com/gethugothemes/hugo-modules/images"
|
||||
|
||||
[[imports]]
|
||||
path = "github.com/gethugothemes/hugo-modules/videos"
|
||||
|
||||
[[imports]]
|
||||
path = "github.com/gethugothemes/hugo-modules/icons/font-awesome"
|
||||
|
||||
[[imports]]
|
||||
path = "github.com/gethugothemes/hugo-modules/gzip-caching"
|
||||
|
||||
[[imports]]
|
||||
path = "github.com/gethugothemes/hugo-modules/adsense"
|
||||
|
||||
[[imports]]
|
||||
path = "github.com/gethugothemes/hugo-modules/accordion"
|
||||
|
||||
[[imports]]
|
||||
path = "github.com/gethugothemes/hugo-modules/table-of-contents"
|
||||
|
||||
[[imports]]
|
||||
path = "github.com/gethugothemes/hugo-modules/tab"
|
||||
|
||||
[[imports]]
|
||||
path = "github.com/gethugothemes/hugo-modules/modal"
|
||||
|
||||
[[imports]]
|
||||
path = "github.com/gethugothemes/hugo-modules/gallery-slider"
|
||||
|
||||
[[imports]]
|
||||
path = "github.com/gethugothemes/hugo-modules/components/preloader"
|
||||
|
||||
[[imports]]
|
||||
path = "github.com/gethugothemes/hugo-modules/components/social-share"
|
||||
|
||||
[[imports]]
|
||||
path = "github.com/gethugothemes/hugo-modules/components/cookie-consent"
|
||||
|
||||
[[imports]]
|
||||
path = "github.com/gethugothemes/hugo-modules/components/custom-script"
|
||||
|
||||
[[imports]]
|
||||
path = "github.com/gethugothemes/hugo-modules/components/render-link"
|
||||
|
||||
[[imports]]
|
||||
path = "github.com/gethugothemes/hugo-modules/shortcodes/button"
|
||||
|
||||
[[imports]]
|
||||
path = "github.com/gethugothemes/hugo-modules/shortcodes/notice"
|
||||
|
||||
[[imports]]
|
||||
path = "github.com/gethugothemes/hugo-modules/shortcodes/mermaid"
|
||||
|
||||
[[imports]]
|
||||
path = "github.com/gethugothemes/hugo-modules/seo-tools/basic-seo"
|
||||
|
||||
[[imports]]
|
||||
path = "github.com/gethugothemes/hugo-modules/seo-tools/site-verifications"
|
||||
|
||||
[[imports]]
|
||||
path = "github.com/gethugothemes/hugo-modules/seo-tools/google-tag-manager"
|
||||
108
exampleSite/config/_default/params.toml
Executable file
108
exampleSite/config/_default/params.toml
Executable file
@@ -0,0 +1,108 @@
|
||||
#################### default parameters ############################
|
||||
# favicon module: https://github.com/gethugothemes/hugo-modules/tree/master/images#favicon-implementation
|
||||
favicon = "images/favicon.png"
|
||||
# logo module: https://github.com/gethugothemes/hugo-modules/tree/master/images#logo-implementation
|
||||
logo = "images/logo.png"
|
||||
# use `px` or `x` with logo_width, example: "100px".
|
||||
# Note: logo_width is not work with .svg file
|
||||
logo_width = "68px"
|
||||
logo_height = "32px"
|
||||
# if logo_webp set false, will not generate WEBP version of logo | default is true
|
||||
logo_webp = true
|
||||
# logo text will only show when logo is missing.
|
||||
logo_text = "Roxo"
|
||||
# navbar fixed to top
|
||||
navbar_fixed = true
|
||||
# theme-mode
|
||||
theme_switcher = true
|
||||
theme_default = "system" # available options [light/dark/system]
|
||||
# Main Sections
|
||||
mainSections = ["blog"]
|
||||
# contact form action
|
||||
contact_form_action = "#" # contact form works with [https://airform.io/] or [https://formspree.io]
|
||||
# google tag manager, see https://developers.google.com/tag-manager/
|
||||
google_tag_manager = "" # example: G-XXXXXXXXXX
|
||||
google_adsense = "" # example: ca-pub-xxxxxxxxxxxxxxxx
|
||||
# custom script on header, example: custom_script= "<script>console.log(\"Hello World\")</script>"
|
||||
custom_script = ""
|
||||
# copyright
|
||||
copyright = "© Copyright 2026 - All Rights Reserved by [Sitepins](https://sitepins.com)"
|
||||
|
||||
# Preloader
|
||||
# preloader module: https://github.com/gethugothemes/hugo-modules/tree/master/components/preloader
|
||||
[preloader]
|
||||
enable = false
|
||||
preloader = "" # use jpg, png, svg or gif format.
|
||||
|
||||
# Navigation button
|
||||
[navigation_button]
|
||||
enable = true
|
||||
label = "Get In Touch"
|
||||
link = "/contact"
|
||||
|
||||
# LLMs Configuration
|
||||
# LLMs module: https://github.com/gethugothemes/hugo-modules/tree/master/llms-txt
|
||||
[llms]
|
||||
# Set to false to disable /llms.txt generation
|
||||
generate_llms_txt = true
|
||||
# Set to false to disable /llms-full.txt generation
|
||||
generate_llms_full_txt = true
|
||||
# Limit to specific paths (e.g. "/about/", "/blog/*", "/blog/**"). Empty = all pages.
|
||||
include = []
|
||||
# Exclude specific paths (same wildcard formats as include). Include takes priority on conflicts.
|
||||
exclude = []
|
||||
|
||||
# seo meta data for OpenGraph / Twitter Card
|
||||
# seo module: https://github.com/gethugothemes/hugo-modules/tree/master/seo-tools/basic-seo
|
||||
[metadata]
|
||||
keywords = ["Boilerplate", "Hugo"]
|
||||
description = "A hugo powered static website"
|
||||
author = "sitepins"
|
||||
twitter = "sitepins"
|
||||
image = "images/og-image.png"
|
||||
|
||||
|
||||
# site verifications
|
||||
# verification module: https://github.com/gethugothemes/hugo-modules/tree/master/seo-tools/site-verifications
|
||||
[site_verification]
|
||||
google = "" # Your verification code
|
||||
bing = "" # Your verification code
|
||||
baidu = "" # Your verification code
|
||||
facebook = "" # Your verification code
|
||||
mastodon = "" # Your verification code
|
||||
|
||||
# cookies
|
||||
# cookies module: https://github.com/gethugothemes/hugo-modules/tree/master/components/cookie-consent
|
||||
[cookies]
|
||||
enable = false
|
||||
expire_days = 60
|
||||
content = "This site uses cookies. By continuing to use this website, you agree to their use."
|
||||
button = "I Accept"
|
||||
|
||||
# diagrams
|
||||
[mermaid]
|
||||
js_url = 'https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.esm.min.mjs'
|
||||
|
||||
|
||||
# google map
|
||||
[google_map]
|
||||
enable = true
|
||||
map_api_key = "AIzaSyCcABaamniA6OL5YvYSpB3pFMNrXwXnLwU"
|
||||
map_latitude = "51.5223477"
|
||||
map_longitude = "-0.1622023"
|
||||
map_marker = "images/marker.png"
|
||||
|
||||
|
||||
# Subscription
|
||||
[subscription]
|
||||
enable = false
|
||||
# mailchimp subsciption
|
||||
mailchimp_form_action = "https://gmail.us4.list-manage.com/subscribe/post?u=463ee871f45d2d93748e77cad&id=a0a2c6d074" # replace this url with yours
|
||||
mailchimp_form_name = "b_463ee871f45d2d93748e77cad_a0a2c6d074"
|
||||
|
||||
# Footer
|
||||
[footer]
|
||||
footer_logo = "images/logo-footer.png"
|
||||
footer_title = "We help brands"
|
||||
footer_description = "develop design solutions produce valuable cultural content create fresh brand experience"
|
||||
back_to_top = "I want to visit again"
|
||||
Reference in New Issue
Block a user