Ernest is a really minimal blog theme for hugo.
Clone this repository to your hugo theme directory.
mkdir themes cd themes git clone https://github.com/julian-klode/ernest.git
Differences from Hemingway
- Support for highlight.js has been removed
- Support for commenting using mastodon has been added. Just configure your user in the config.toml, put a config.php in the right spot (see static/mastodon/), and then post a toot with a link to your blog entry, and replies to it will be embedded on the page.
- XHTML-conform output with head and body elements
- Support for the
- In social stuff,
fa_iconnow needs proper
Take a look in the exampleSite folder.
This directory contains an example config file and the content for the demo. It serves as an example setup for your documentation.
config.toml in the root directory of your website. Overwrite the existing config file if necessary.
baseurl = "https://example.com" languageCode = "en" title = "Ernest" theme = "ernest" copyright = "© <a href=\"https://github.com/tanksuzuki\">Asuka Suzuki</a> 2016, <a href=\"https://github.com/julian-klode\">Julian Andres Klode</a> 2018" disqusShortname = "shortname" googleAnalytics = "" pygmentsCodeFences = true [params] mastodonUser = "juliank" [[params.social]] url = "https://github.com/julian-klode" fa_icon = "fab fa-github" [[params.social]] url = "https://twitter.com/julian-klode" fa_icon = "fab fa-twitter" [[params.social]] url = "/index.xml" fa_icon = "fa fa-rss"
You can go to localhost:1313 and this theme should be visible.
Ernest is licensed under the MIT License. Server-side scripts for Mastodon integration are AGPL. Vendorized code has its own license, please look in there.