Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vaga/hugo-theme-m10c
A minimalistic (m10c) blog theme for Hugo
https://github.com/vaga/hugo-theme-m10c
dark hugo minimalistic responsive theme
Last synced: about 20 hours ago
JSON representation
A minimalistic (m10c) blog theme for Hugo
- Host: GitHub
- URL: https://github.com/vaga/hugo-theme-m10c
- Owner: vaga
- License: mit
- Created: 2019-01-19T09:43:35.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-19T11:33:05.000Z (3 months ago)
- Last Synced: 2025-01-03T14:09:23.733Z (8 days ago)
- Topics: dark, hugo, minimalistic, responsive, theme
- Language: HTML
- Homepage: https://themes.gohugo.io/hugo-theme-m10c/
- Size: 2.75 MB
- Stars: 478
- Watchers: 8
- Forks: 296
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# m10c theme
![Intro](https://github.com/vaga/hugo-theme-m10c/blob/master/images/cover.png)
A Hugo minimalistic theme for bloggers
Main features:
- Fully responsive
- Twitter Cards, Open Graph, Disqus and Google Analytics supported (see Hugo docs)
- Customizable colors
- Customizable picture and description
- Customizable menu on sidebar
- Customizable social media links on sidebar
- Optimized for performance 100/100 on Lighthouse
- All Feather and Simple Icons icons included## Getting started
### Installation
Create a new Hugo site:
```bash
$ hugo new site [path]
```Clone this repository into `themes/` directory:
```bash
$ cd [path]
$ git clone https://github.com/vaga/hugo-theme-m10c.git themes/hugo-theme-m10c
```Add this line in the `config.toml` file:
```toml
theme = "hugo-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
- `menu_item_separator`: Separator between each menu item. HTML allowed (default: " - ")
- `favicon`: Absolute path of your favicon.ico file (default: "/favicon.ico")To add a menu item, add the following lines in `menu`:
```
[[menu.main]]
identifier = "tags"
name = "Tags"
url = "/tags/"
```[Read Hugo documentations](https://gohugo.io/content-management/menus/#readout) for more informations about menu
To add a social link, add the following lines in `params`:
```
[[params.social]]
icon = "brand-github"
name = "My 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 = "#ffffff"
```If you want the above theme colors, you can see the [exampleSite/config.toml](/exampleSite/config.toml) file.
### Icons
This theme uses two libraries for icons:
- [Feather](https://feathericons.com/) is used for application-related icons.
- [Simple Icons](https://simpleicons.org) is used for brand icons.To differentiate brand icons from regular ones, the prefix `brand-` is added
to all icons from the Simple Icons library. (e.g., brand-github, brand-x, brand-mastodon...)### Styling
To override styles using scss, add a file called `_extra.scss` to `[path]/assets/css/`
**Note:** Hugo releases come in two versions, `hugo` and `hugo_extended`. You need `hugo_extended` to automatically compile your scss.
## License
This theme is released under the [**MIT**](/LICENSE.md) License.
## Acknowledgements
- [Feather](https://feathericons.com/) - [MIT](https://github.com/feathericons/feather/blob/master/LICENSE)
- [Simple Icons](https://simpleicons.org) - [CC0 1.0](https://github.com/simple-icons/simple-icons/blob/develop/LICENSE.md)