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
paginate = 10
[taxonomies]
tag = 'tags'
series = 'series'
[menus]
[[menus.main]]
name = 'Tags'
pageRef = '/tags/'
weight = 10
[[menus.footer]]
name = 'GitHub'
url = 'https://github.com/'
weight = 10
[permalinks]
[permalinks.page]
pages = '/:slug/'
[params]
[params.author]
email = 'example@example.com'
name = 'Me'
showRelated = true
footerHtml = "Copyright 2024. All rights reserved."
- Customize theme.
- Archive page.
- LaTeX/TeX support.