* 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.
* Making easy to customize listing
* adding styles to listing
* removing unintended changes
* correcting declaration
* including files for release
* changing url to be relative so it can work on localhost
* Including suggestions
* Add trailing slash to remove redirects.
When you request /tags/foo, the web server will redirect you to
/tags/foo/ so the browser needs to make two requests. Add the trailing
slash in the link so that only one request is needed.
* Add trailing slash to remove redirects.
* Improve how trailing slash is added.
Co-Authored-By: tobinjt <johntobin@johntobin.ie>
* Improve how trailing slash is added.
Co-Authored-By: tobinjt <johntobin@johntobin.ie>
* Add John Tobin.
* Adding the ability to have git commit hash in the footer
* making changes as discussed in GH-78
* last changes before merge
* removed lines that are not needed
* fixing duplicate
* Last changes hopefully
* Remove old files
* Add SCSS pipeline
* Add generated files
* Fix navigation HTML
* Fix media queries
* Remove RTL
* Fix styling for big screens
* Remove separator configs
* Fix menu dropdown
* Add working mobile menu
* Fix menu item heights
* Update README
* mobile menu functional
* mobile menu beta
* edits mobile-menu: home link out, rtl ok, menu pop over
* mobile menu - bugs correction
* add horizontal separator
* corrections done + add configuration of centered or rtl/ltr mobile menu
* edit config of example
* separator padding full
* Added disqus support
* reformatted README
* Updated example config
* Added a make demo command to easy run the exampleSite.
Also good for developing new features but don`t want to setup a
different project for it
* Updated readme
* Working on my .md skillsw
* MathJax support
There was no support for displaying math written in Latex. This is now added with the help of MathJax.
MathJax uses an external Javascript file and as not to add unnecessary load the support for math is only enabled if the 'math' param is set to true.
* MathJax support
There was no support for displaying math written in Latex. This is now added with the help of MathJax.
MathJax uses an external Javascript file and as not to add unnecessary load the support for math is only enabled if the 'math' param is set to true.
* Auto stash before merge of "math" and "origin/math"
* Delete unnecessary option
* Actually enable math for demo page
* Have demo page be consistent
Building the site fails if the menu is not defined in the config,
because the `header.html` references `.Site.Menus.main`. It can be made
optional by using the `with` helper.