* Make MathJax version 3 work
* Change my contributor link
* Add an optional featured image and table of contents
* Add an optional featured image and table of contents
* Add example of a featured image in post along with table of contents
* Remove word count criteria
* Fix formatting
* Add table of contents options
* Remove toc feature due to markdown bug
* Removing markup configuration
Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
* 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>
Changing reading time from "XX minutes read" to "XX-minute read".
In English, a hyphen (-) joins a number to the noun that follows it. Also, the noun is always minute regardless of the number ('1-minute' and '2-minute' are correct, whereas '2-minutes' is incorrect).
Reference: https://www.grammarly.com/blog/hyphen/
>When numbers are used as the first part of a compound adjective, use a hyphen to connect them to the noun that follows them. This way, the reader knows that both words function like a unit to modify another noun. This applies whether the number is written in words or in digits.
>Example: The president of the company gave a 10-minute speech to the Board of Directors.
* 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.
* 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