commit 45d69de5e5bfbac24d87400422e2f63bf62f80d7
Author: John Feminella <jxf+github@jxf.me>
Date: Sun May 29 14:46:30 2022 -0400
Modularize <head> and baseof templates (#639)
* 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>
commit 7e6f875237b8b1a83c2d5c3a83a514912f29f8a8
Author: Codruț Constantin Gușoi <mail+git@codrut.pro>
Date: Sun May 29 19:43:09 2022 +0100
HTML/CSS only tabs (#678)
* Fix pre tag margin top so it looks good inside containers
* Bind to 0.0.0.0 for docker container support
* Add HTML only tabs shortcode
commit 371406e8918225e66bf142520684998e90ce0d2f
Author: Zhan Shuo <trizsqwq@gmail.com>
Date: Mon May 30 02:38:59 2022 +0800
dynamic change utterances theme with coder theme (#676)
* dynamic change utterances theme with coder theme
* add myself into CONTRIBUTORS.md
commit bad470c59c5263124a4a95f60b9a8c3367c11ae6
Author: samsapti <sam@sapti.me>
Date: Tue May 24 01:55:31 2022 +0200
Update CONTRIBUTORS.md
commit b0e9a74bb5e019905b197d829fe6ae5576c15a7b
Author: samsapti <sam@sapti.me>
Date: Tue May 24 01:50:15 2022 +0200
Add macOS mask icon + web app manifest support
* 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
* Add ability to embed custom code to <head>
* add myself to CONTRIBUTORS.md
* implement dedicated template for Google Tag Manager
* move google tag manager to bottom of the body tag
* feat: added csp.html template to theme head element
* feat: added my name to CONTRIBUTORS
* fix: added conditional logic for templating to stabilize build
* feat: Added CSP section to example config.toml
* fix: updated template logic
* updated contributors to reference website and not github
* fix conflict with contributors, moved csp out of _shared dir
Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
* Defer non-critical resources and use more sensible CDN provider
* Seems like defer doesn't work for css
* Delete vscode related files
* Remove comments from as per code review
Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
* Add authors taxonomy and layout
* Add my name to contributors file
* Add authors to front matter post archetypes
* Add author to i18n for en
* Add authors taxonomy to exampleSite config
* Add some author names to exampleSite for demo
* Tested authors on pt-br and externally-linked post
* Also ran make release again
* Resources
Deleted resources in exampleSite and added resources in root
* Add color scheme toggle
Add hidedarkmodetoggle to exampleSite, stackbit
Change property name to hidecolorscheme toggle
* Add my name to CONTRIBUTORS.md
There were a few places still using absolute URLs, including <link rel="icon">
tags, <link rel="alternate"> tags, and nav menu links. In addition, the
presence of a <base> tag caused the browser to absolute-ize all relative
URLs. This also removed "canonifyurls = true" from the example site config.
This is a problem for things like render.com, which will put the site on its
own domain for previews. For example, I have a preview site at
https://houseabsolute-com.onrender.com/. Ultimately this will be served at
https://houseabsolute.com/, but before I switched over I wanted to preview the
site.
The absolute URLs were being generated for https://houseabsolute.com/ because
of my baseURL setting in config and the presence of the <base> tag. This
completely breaks the preview site.
* Add myself to contributors.md
* Add plausible config to example
* Add plausible to base layout
* Add plausible analytics snippet
* Remove unneeded part of snippet
* Add plausible config to stackbit
* Add theme toggle button feature
* Add theme toggle button feature
* Replaced svg icon with FA icon + fixed indentation + refactored css
* Added back colorsheme configurations + script moved to be process by hugo pipe
* Make release
* Fix toggle button not working when loading new page + setTheme() refactor
* Make release
* Update exampleSite/config.toml
Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
* Prefix term with taxonomy title
Fix list layout to properly prefix a term with the taxonomy title.
* Replace taxonomy with term kind in title
* Set minimal version for updated taxonomy kinds
* Set minimal version for updated taxonomy kinds
* Update CONTRIBUTORS.md