mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
26a6a0a7cd6601bc02ab3c55a6ec1dceafa8b969
* 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.
A simple and clean blog theme for Hugo.
Quick Start
- Add the repository into your Hugo Project repository as a submodule,
git submodule add https://github.com/luizdepra/hugo-coder.git themes/hugo-coder. - 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. Theconfig.tomlinside theexampleSiteis also a good reference. - Build your site with
hugo serveand see the result athttp://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
Languages
SCSS
79.8%
HTML
18.3%
JavaScript
1.7%
Makefile
0.2%

