* 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.
* Adjust dark mode colorscheme
This makes the whites a bit softer and instead of
inverting the blue hyperlinks, they're now desaturated -
but still blue.
* Add Ariejan de Vroom to CONTRIBUTORS
* add stackbit.yaml
* update field model for slug
* add config model
* update language config model
* update menu model
* katex should be a boolean value
* add labelField to menu item model
* math should be a boolean value
* Add 1-click create with stackbit button
* 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