archetypes | ||
exampleSite | ||
i18n | ||
images | ||
layouts | ||
src | ||
static | ||
.gitignore | ||
LICENSE.md | ||
README-zh.md | ||
README.md | ||
theme.toml |
hugo-theme-even
A super concise theme for Hugo
It's a port of the hexo-theme-even
Screenshots
Feature
- Responsive
- Fancybox
- Config license for content
- highlight.js
- Custom theme color
- mathjax
Installation
$ git clone https://github.com/olOwOlo/hugo-theme-even themes/even
Important: Take a look inside the exampleSite
folder of this theme. You'll find a file called config.toml
. To use it, copy the config.toml
in the root folder of your Hugo site. Feel free to change it.
Configuration
-
favicon.ico: Just put your favicon.ico under the
/static
directory if you want to change the default favicon.ico. -
Front matter: Copy the
default.md
file from thearchetypes
directory to yourarchetypes
. -
Language: Language files are under
/themes/even/data/even/
directory. Create a new directoryeven
under yourdata
directory and copy thedefault.toml
to your/data/even/
, and then you can change it if you want. -
Theme color: Default | Mint Green | Cobalt Blue | Hot Pink | Dark Violet
You can config it by changing the
$theme-color-config
value in/src/css/_variable.scss
.
Build
if you change any file under /src/
, you need to rebuild.
cd ./themes/even/src/
npm install
npm run build
License
Released under the MIT License.