Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Easy to use Hugo theme to present some (up to 10) parts of a collection.
someparts-hugo is a Hugo theme designed to present up to ten named parts of a collection in a top navigation bar, built with Bootstrap 4, jQuery, and Font Awesome.
someparts-hugo is a Hugo theme that renders a collection homepage, part pages, and resource pages from content files configured with front matter like id, subtitle, cover, link, and weight. It is developed by tastaturtier and published on GitHub. The theme requires Hugo version 0.63.2 or higher. It works by listing each part as a menu item in a navigation bar that appears on every page, so the total number of parts should stay below ten for readability.
id appears in the top menu on every page, and the active part is highlighted.private: true in front matter to hide a part from the navbar, homepage, sitemap, and RSS.cover.img and optional cover.link, displayed on the right side of the part page.hugo new --kind resource foo/bar.md; they render below the part's description.params.dropdown to add links like imprint, privacy policy, and RSS under the site title.static/ directory rather than a CDN.params.googleAnalytics to a tracking ID; analytics only load after user consent via Cookie Consent.frontmatter.lastmod to derive the last modification date from date front matter or from git revision history.hugo new --kind part ch1) and adding resource pages for each chapter.params.icon.Install the theme with git submodule add https://github.com/tastaturtier/someparts-hugo.git themes/someparts-hugo, copy the example site's config.toml, and define your collection in /_index.md. Parts can be created with hugo new --kind part foo and resources with hugo new --kind resource foo/bar.md. The theme then renders the collection list at the site root and part pages under their own URLs.
The theme includes an example site with colors as parts, and a live production example at https://verteiltearchitekturen.de/. A Netlify demo is available at https://someparts-hugo.netlify.com/.