Hugo Themes
classless
The Classless templates and themes implemented in Hugo.
- Author: fiatjaf
- Minimum Hugo Version: 0.38.2
- GitHub Stars: 5
- Updated: 2019-07-08
- License: MIT
- Tags:
Blog
Personal
Note! This theme has not been updated for more than 2 years.
If you are maintainer of this theme, please verify that this theme works with a recent release of Hugo. Then add an appropriate Version Configuration to the theme'sconfig.toml
and then finally tag a new version.
Classless for Hugo
This Hugo theme features the basic Classless templates for your posts and list of posts. One of the themes supported on Classless may be chosen from your site’s config.toml
, along with the hash of the commit which you want to reference. That is needed because the provider, https://rawgit.com/, needs that to serve cached, cdnized versions of the themes hosted on https://github.com/fiatjaf/classless/tree/master/themes/.
Supported parameters on config.toml
:
[params]
theme = "the theme name, choose from https://classless.alhur.es/themes"
commit_sha = "if in doubt, go to https://github.com/fiatjaf/classless and copy the 7 characters from the line that says: 'Latest commit xxxxxxx'"
theme_url = "alternatively, you can just paste a CSS URL here to be included"
description = "a description of your site, will be used on `body > header` and on the <meta> description, when not overriden by pages (in normal posts, it is overriden by the post summary)."
show_summaries = false # if you don't want automatic summaries in list pages
If you don’t set a theme
and commit_sha
(or theme_url
), a random Classless theme will be included for you, and a poorly designed widget will appear on your site from which you’ll be able to select themes and experiment with them before choosing one to write to your config file.
Partials that should be overwritten:
layouts/partials/aside.html
: the HTML content of thebody > partial
Classless element.layouts/partials/footer.html
: the HTML content of thebody > partial
Classless element.
All posts (under content/posts/
) support the following extra (optional) parameters:
cover: a URL to an image to be used on the `article > header` and on list pages
hide_date: if you want to hide the date
tags:
- an
- array
- of-tags