hugo-code-editor-theme fork
https://github.com/aubm/hugo-code-editor-theme
362baca757 | ||
---|---|---|
archetypes | ||
data/translations | ||
exampleSite | ||
images | ||
layouts | ||
static | ||
.gitignore | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
LICENSE.md | ||
README.md | ||
gulpfile.js | ||
package.json | ||
release.js | ||
theme.toml |
README.md
What is it ?
A theme for Hugo, inspired by Atom editor.
Changelog
Changelog can be found here :)
Installation
Install using git clone https://github.com/aubm/hugo-code-editor-theme.git /path/to/your/site/themes/code-editor
.
For more information read the official setup guide of Hugo.
You will need to define the locale
parameter in order to use this theme.
Please have a look at this configuraton sample :
baseurl = "http://your-site.com"
languageCode = "en-US"
title = "Your site"
theme = "code-editor"
[params]
author = "John Doe"
locale = "en-US"
# rootlink = "/"
# rootlink specifies where Root in menu.html links to. If it's not set then baseurl will be used.
In addition to the required settings, you can customize this theme using the following keys within [params]
:
codeeditor_menu_mostrecentposts
, defaults totrue
, whether to show the "Most recent posts" section within the menu
Contributing
Contributions are welcome. Please refer to the contributions guidelines for more information.