Skip to content

ams-www/material-blog-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

109 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Material Design Blog Hugo

A blog hugo theme with Material Design

Install

mkdir theme
cd theme
git submodule add https://github.com/kons10/material-blog-theme.git material

Update

git submodule update --init --recursive

Configuration

Menu

You can add entries to menus from config.toml.

See Add Non-content Entries to a Menu.

This is a example configuration.

[[menu.main]]
  name = "Posts"
  url = "/posts/"
  weight = 1
  [menu.main.params]
    icon = "article"

[[menu.main]]
  name = "Tags"
  url = "/tags/"
  weight = 2
  [menu.main.params]
    icon = "label"

[[menu.main]]
  name = "About"
  url = "/about/"
  weight = 3
  [menu.main.params]
    icon = "info"

Note: The icon parameter is optional. If provided, the menu will display Material Design icons. If omitted, it will display text links instead. You can find available icon names at Google Fonts Icons.

Social Links

You can add entries to use config.toml.

This is a example configuration.

[[Params.social]]
  name = "GitHub"
  url = "https://github.com/m1yam0t0"

[[Params.social]]
  name = "Twitter"
  url = "https://twitter.com/m1yam0t0"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors