Material is a theme for Hugo.
- Responsive design.
- Automatic dark theme.
- Show related pages.
- Supported languages: 🇺🇸, 🇪🇸
In the folder of your Hugo site:
git submodule add https://github.com/alcarazzam/hugo-material.git themes/material
In your hugo.toml
:
theme = 'material'
Example configuration file:
baseURL = 'https://example.org/'
languageCode = 'en-us'
defaultContentLanguage = 'en'
title = 'My New Hugo Site'
theme = 'material'
enableRobotsTXT = true
[pagination]
pagerSize = 10
[taxonomies]
tag = 'tags'
series = 'series'
[menus]
[[menus.main]]
name = 'Tags'
pageRef = '/tags/'
weight = 10
[[menus.footer]]
name = 'Example'
url = 'https://example.com/'
weight = 10
[params]
showRelated = true
footerHtml = "Copyright 2024. All rights reserved."
me = 'https://example.com'
logo = '/logo.png'
[params.author]
email = '[email protected]'
name = 'Me'
mastodon = '@[email protected]'
- Customize theme.
- Archive page.
- LaTeX/TeX support.