John Tobin 26a6a0a7cd Check if commentoUrl is set before using it. (#198)
* Check if commentoUrl is set before using it.

When a variable does not exist it evaluates to `nil`, and so the
check `(not (eq .Site.Params.commentoUrl ""))` evaluates to true rather
than false because `nil` is not "".  Before this change, unless you
explicitly set Params.commentoUrl to "", the commento HTML block would
be added, and this fails because /js/commento.js does not exist.  This
change ensures that the commento HTML block is only added whe
Params.commentoUrl exists and is set to a non-empty string.

* Check if DisqusShortname is set before using it.
2019-07-15 20:42:28 -03:00
2018-11-29 09:39:52 -02:00
2019-06-21 09:59:54 -03:00
2018-09-14 09:28:05 -03:00
2018-09-14 11:08:17 -03:00
2019-06-26 10:09:47 -03:00
2018-02-28 22:38:59 -03:00
2019-01-02 17:06:58 -02:00

Hugo Coder Logotype

A simple and clean blog theme for Hugo.

Quick Start

  1. Add the repository into your Hugo Project repository as a submodule, git submodule add https://github.com/luizdepra/hugo-coder.git themes/hugo-coder.
  2. Configure your config.toml. You can either use the this minimal configuration as a base, or look for a complete explanation about all configurations here. The config.toml inside the exampleSite is also a good reference.
  3. Build your site with hugo serve and see the result at http://localhost:1313/.

Extra Guides

License

Coder is licensed under the MIT license.

Maintenance

This theme is maintained by its author Luiz de Prá with the help from these awesome contributors.

Special Thanks

  • Gleen McComb, for his great article about custom pagination.
  • All contributors, for every PR and Issue reported.
Description
A minimalist blog theme for hugo.
Readme 5.9 MiB
Languages
SCSS 79.8%
HTML 18.3%
JavaScript 1.7%
Makefile 0.2%