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
* 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>
* Add support for using as a Hugo module (#534)
* Add support for using as a Hugo module
Fixes#502
* Don't need/want the theme directory with modules
* Fix go.{mod,sum} files
* Set go version and hugo version everywhere
Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
* Remove hugo mod from exampleSite and Netlify build
* Bump hugo version
* Move env vars inside netlify.toml
Co-authored-by: Edward Muller <edward_muller@icloud.com>
* 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>
* 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.
* [bugfix] Fix line wrapping for list items
Long post titles will be wrapped in their own column, rather than
flowing under the date column (see #385).
* [assets] update assets for long post titles
* 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