|davidak 1f0d679629||1 month ago|
|archetypes||11 months ago|
|exampleSite||11 months ago|
|images||11 months ago|
|layouts||1 month ago|
|static/css||4 months ago|
|.prettierignore||11 months ago|
|.prettierrc.js||11 months ago|
|LICENSE||11 months ago|
|README.md||11 months ago|
|netlify.toml||11 months ago|
|theme.toml||11 months ago|
Basic personal site theme styled with minimal tachyons, syntax highlighting, and blog series configuration.
seriestaxonomy - Automatically group posts and display within an isolated taxonomy type
Run this command from the root of your Hugo directory (Git needs to be installed):
$ git clone https://github.com/siegerts/hugo-theme-basic.git
Or, if your Hugo site is already in git, you can include this repository as a
git submodule. This makes it easier to update this theme (and for some deployment options i.e. Netlify).
$ git submodule add https://github.com/siegerts/hugo-theme-basic.git themes/hugo-theme-basic
Alternatively, if you are not familiar with git, you can download the theme as a .zip file, unzip the theme contents, and then move the unzipped source into your themes directory.
For more information, read the official documentation of Hugo.
From the root of
hugo server --themesDir ../..
Check out the sample
config.tomlfile located in the
exampleSite directory. Copy the
config.toml to the root directory of your Hugo site, then edit as desired.
|Post||Used for blog posts. Posts are listed on the
|Page||Used for site pages.||
|Project||Used for project pages. Extend project list by customizing
An extra taxonomy,
series, is added to allow for the grouping of blog posts. A Read More section shows at the bottom of each post within the series when two or more posts are grouped.
[taxonomies] category = "categories" series = "series" tag = "tags"
Menu links are specified, in order, in the theme configuration.
[[params.menu]] name = "blog" url = "blog/" [[params.menu]] name = "post series" url = "series/" [[params.menu]] name = "about" url = "about/"
Syntax highlighting is provided by highlight.js. The color theme can be changed by modifying the highlight.js stylesheet in
The code is available under the MIT license.