Modifications of m10c theme for my personal blog
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
era 2c79688edd adding goat 1 year ago
assets/css add avatar back 2 years ago
data/m10c Add all feather icons 3 years ago
exampleSite Fix footnote links issue 3 years ago
images Change cover relative URL to absolute URL in README.md 3 years ago
layouts adding goat 1 year ago
resources/_gen/assets/scss/css Add 404 page 3 years ago
scripts Add all feather icons 3 years ago
static Initial commit 3 years ago
.editorconfig Initial commit 3 years ago
.gitignore Initial commit 3 years ago
LICENSE.md Initial commit 3 years ago
README.md Add avatar param to README 3 years ago
theme.toml Update minimum Hugo version 3 years ago

README.md

m10c theme

Intro

A Hugo minimalistic theme for bloggers

Getting started

Installation

Create a new Hugo site:

$ hugo new site [path]

Clone this repository into themes/ directory:

$ cd [path]
$ git clone https://github.com/vaga/hugo-theme-m10c.git themes/m10c

Add this line in the config.toml file:

theme = "m10c"

Configuration

In your config.toml file, define the following variables in params:

  • author: Name of the author
  • description: Short description of the author
  • avatar: Path of file containing the author avatar image

To add a social link, add the following lines in params:

[[params.social]]
  name = "github"
  url = "https://github.com/vaga"

To change theme colors, add the following lines in params:

[params.style]
  darkestColor = "#d35050"
  darkColor = "#212121"
  lightColor = "#f5e3e0"
  lightestColor = "#f5f5f5"
  primaryColor = "#fff"

If you want the above theme colors, you can see the exampleSite/config.toml file.

License

This theme is released under the MIT License.

Aknowledgements