Skip to content

alcarazzam/hugo-material

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Material

Material is a theme for Hugo.

Features

  • Responsive design.
  • Automatic dark theme.
  • Show related pages.
  • Supported languages: 🇺🇸, 🇪🇸

Installation

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'

Configuration

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."

Roadmap

  • Customize theme.
  • Archive page.
  • LaTeX/TeX support.

License

MIT License.

About

Material is a theme for Hugo.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published