Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Responsive, simple, clean and content-focused Hugo theme based on the MH Magazine lite WordPress theme.
Mainroad is a responsive, simple, clean, and content-focused Hugo theme based on the MH Magazine lite WordPress theme. It is designed for ease of use and broad compatibility, making it an excellent choice for various static websites.
Key Features:
config.toml.Installation and Configuration:
To install Mainroad, ensure you have Hugo installed and a new site created. Then, clone the theme into your project's themes directory:
git clone https://github.com/vimux/mainroad.git themes/mainroadAlternatively, add it as a Git submodule for easier updates:
git submodule add https://github.com/vimux/mainroad.git themes/mainroadFinally, set theme = "mainroad" in your config.toml file. The theme offers extensive configuration options through config.toml and front matter, allowing customization of site description, copyright, OpenGraph, Schema, Twitter Cards, readmore button, authorbox, Table of Contents (TOC), pager navigation, post meta information order, main sections for homepage display, date format, MathJax support, Google Fonts, and custom CSS/JS files. Sidebar layouts can be configured for home, list, and single pages, with various widgets like search, recent articles, categories, taglist, social links, and languages. Social links can be customized for platforms like Facebook, Twitter, Instagram, LinkedIn, Telegram, GitHub, GitLab, Bitbucket, and email, with support for custom social links including icons.