Skip to content

alcarazzam/hugo-material

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 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

[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]'

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