The theme supports syntax highlighting thanks to highlight.js, which is turned on by default. Checkout out the available palette options here. Note highlightStyle param should be hyphen-separated lowercase.
Make sure your main languages render well and keep control on the languages that get special highlighted.
For best aesthetics with dark-mode, I reccommend choosing a light background style that matches your accent color.
This theme comes equipped with stock favicons modeled as hex stickers.
To update those, pick out an image and head over to RealFaviconGenerator. Go through their build process and append the path /img/favicon/ at the last step when you download. Just unzip and drop all of the new files in quick/static/img/favicon/. Now you have favicons for everything from tablets to tiles, that’s tight.
The site logo defaults to using the 192x192 Android favicon but you can change the path for logo param in config.toml. This could be a headshot, another hex-sticker or something completely different, but if you want to change the image dimensions drastically, you may have to tweak layouts/index.html directly to get a good result.
You must change baseURL to your current domain for this feature to work properly.
baseURL = "your_domain.com"
The current set up has two TwitterCard/OpenGraph options depending on the params you specify in your post’s front matter. If you add the param twitter_img to a post, with the valid image path, then a summary card with large image will be shown. If you don’t provide twitter_img then a summary card with the site logo will be shown instead. For best scaling large image summary wants a 2:1 ratio image and regular summary wants 1:1. The post exampleSite/creating-a-new-theme.md has been tweaked to include these new params, so you can template and test off of that.
The summary description will use the one provided in a post’s front matter if it exists or use the generic site description from config.toml. You should also adjust the twitterAuthor and twitterSite params in config.toml to point to your account. You can check how your cards are rendering once your website is being publish with the TwitterCard Validator.
Font Awesome v5 icons are supported. The syntax for using these icons has changed with the version update. You must now include the full name of the icon e.g. far fa-twitter which adds a tag that specifies the weight of the icon used. Note that only free icons are supported by default. If you are a Font Awesome Pro user, you can add your website as a new project which will generate the code necessary to reference the pro CDN. Use the HTML code that is generated to replace that in the file at layouts/partials/css.html. Learn more in the Font Awesome docs.
Coral is set of tools back by Mozilla, to make website commenting better. It is aimed at the news industry and has a lot of features for moderating a community, including abilities to mute annoying voices, set up specific notifications and access detailed commentor histories.
While Coral can be viewed as alternative to Hugo’s built-in support of Disqus, but it is definately geared towrds larger sites and requires extra tech infrastructure. Inorder to run Coral you will need to install additional software on your server, but this theme includes partial layouts for easily adding the required JS + HTML into your pages.
To enable the parts for Talk v4 and Coral (Talk v5 or later) edit your config.toml file like this:
Make sure you comment out (or delete) the disqusShortName field in config.toml to prevent multiple comment plugins being included. And make sure your host has SSL encryption (eg https://example.com) enabled becasue Talk/Coral requires it.
Talk/Coral templates are graciously contributed by @mzch
This theme is something I enjoy and hope you do to.
If you get unexpected behavior post an issue and try to keep it as minimal as possible. Ideally bug reports would be reproducible using the QuickStart tutorial plus whatever changes cause the problem.
Pull requests are literally the best thing since ever, so if you have the idea (and the time) to add something to min_night do it! I promise I will respond quickly.