* Add extension points for template customization
Today, if you use the hugo-coder template, you can't modify <head>
without having to write the entire template from scratch. This makes
small point modifications or adjustments impractical and means that
downstream consumers will quickly be out of sync with upstream
changes.
To remedy this, we split up the template into more modular extension
points. This commit adds one extension point to <body> for arbitrary
scripting and several more to <head> for different existing
touchpoints.
* Add John Feminella to CONTRIBUTORS.md
* Modularize home.html template
Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
* Add a license param in the config used in footer
Also adds initial EN and NL i18n statements referring to the license.
* Add Michiel to CONTRIBUTOR
* Add example text for i18n of `licensed_under`
* Add safeHTML filter to license value in the footer
Also updates the example config in the exampleSite config.toml to link
to Creative Commons.
* Fix separator dot in footer within License ifdef
Some pygment color schemes (like `bw`, which we use as default in the
exampleSite) do not set a foreground color explicitly, which makes those
themes look bad/illegible when using the dark mode of hugo-coder. Most
such themes are light themes (it seems after a quick research), which
explains this phenomenon.
This commit adds a fix for such color schemes by setting the default
foreground color to the one used in the light hugo-coder colorscheme.
It is overridden by proper syntax highlighting schemes.
* Table Style Parity
* Update assets/scss/_base_dark.scss
* Add Contributor and Made Release
Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
* Fix customJS function
In the current state the customJS feature doesn't work, because an asset will only be generated to `/public` when `.RelPermalink` is used as mentioned in the [document](https://gohugo.io/hugo-pipes/introduction/#asset-publishing).
* Update CONTRIBUTORS.md
* Fix customCSS as well
* modified margin for .container class
* modified navigation list and menu button so it is relative to title
* added kuba86 as contributor
* generate CSS files
* remove margin-top from menu-button to align with title inside navigation
Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>