* Hide hamburger menu button on mobile when there are no menu items fix 253
* Fix template identation
Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
* Adding target if statements
* adding Tobias Lindberg to CONTRIBUTORS.md
* adding swedish language i18n file
* adding author to footer
* adjusting swedish translation made in fc7d7f62af52d180486d0074691ab3747fb1da07
* adding since year functionality in footer
* adding since which year if statement to footer
* removing unnecessary lines in footer file
* adjusting footer again a little
* Automatic dark/light colorschemes
A new `colorscheme` option is added with the capability to be always dark,
always light, or automatic based on the user's browser setting. This
makes the `inverted` option superfluous, and therefore deprecated.
Nomenclature of files, variables, etc are changed from `inverted` to
`dark` to reflect this change.
Closes#226.
* Remove inverted option completely
The `inverted` option is now not just deprecated, but removed
completely.
* 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.
* Add custom_js site param for enabling custom js
I've hit that when adding Cookie Consent on my web page. https://github.com/insites/cookieconsent
* PR Remarks - added Custom JS into exampleSite
* Update layouts/_default/baseof.html
Co-Authored-By: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
* Update CONTRIBUTORS.md
* 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.
* Replace deprecated .Hugo with hugo.
Hugo 0.55 deprecates .Hugo and produces this warning:
"Page's .Hugo is deprecated and will be removed in a future release.
Use the global hugo function."
* Bump version to brute-force figure out when "hugo" function was introduced because it is not documented.
* Bump version to brute-force figure out when "hugo" function was introduced because it is not documented.
* Bump version to brute-force figure out when "hugo" function was introduced because it is not documented.
* Bump version to brute-force figure out when "hugo" function was introduced because it is not documented.
* Bump version to brute-force figure out when "hugo" function was introduced because it is not documented.
* Update minimum required version.
OpenGraph Protocol is used by sites like Facebook to display a rich object in a social graph.
* Add OpenGraph Protocol to each page
Hugo has an internal template for [Open Graph](https://gohugo.io/templates/internal/#open-graph). It takes necessary information from either site's or post's config thus it makes sense to add it to each page.
* Add 'series' to posts archetype
This taxonomy is used to specify related “see also” pages by placing them in the same series.
* Add series taxonomy to exampleSite config.
* Add example of series to exampleSite
* Add spaz926 to Contributors
* 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 Twitter Cards to each page
Hugo has an internal template for [Twitter Cards](https://gohugo.io/templates/internal/#twitter-cards). It takes necessary information from either site's or post's config thus it makes sense to add it to each page.
* Add 'description' to posts archetype
This optional field is used by Twitter Cards.
* Add example usage of Twitter Cards
* Add artspb to contributors
* 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