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
* 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