Go to file
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
.github Update PR template (#125) 2018-11-29 09:39:52 -02:00
archetypes Add OpenGraph to each page (#147) 2019-03-04 11:43:54 -03:00
assets/scss Add see also section to posts footer (#152) 2019-03-11 08:21:14 -03:00
exampleSite Add custom_js site param for enabling custom js (#182) 2019-05-23 13:59:30 -03:00
i18n Translate to Spanish (#193) 2019-06-21 09:59:54 -03:00
images Update images 2018-09-14 09:28:05 -03:00
layouts Check if commentoUrl is set before using it. (#198) 2019-07-15 20:42:28 -03:00
resources/_gen/assets/scss/scss Add see also section to posts footer (#152) 2019-03-11 08:21:14 -03:00
static/images Add SCSS via Asset Pipeline (#65) 2018-08-21 16:26:15 -03:00
.editorconfig Add SCSS via Asset Pipeline (#65) 2018-08-21 16:26:15 -03:00
.gitignore Add resources folder 2018-09-14 11:08:17 -03:00
CONTRIBUTORS.md Home rel link (#195) 2019-06-26 10:09:47 -03:00
LICENSE.md Initial files 2018-02-28 22:38:59 -03:00
Makefile Add HUGO_BIN into Makefile 2019-01-02 17:06:58 -02:00
README.md Correct instructions in README.md (#111) 2018-11-02 17:16:37 -03:00
netlify.toml Replace deprecated .Hugo with hugo. (#171) 2019-04-23 10:17:29 -03:00
theme.toml Replace deprecated .Hugo with hugo. (#171) 2019-04-23 10:17:29 -03:00

README.md

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.