hugo-modules

A mono repo for all GoHugo modules by @davidsneighbour.

MIT License

Stars
2
Committers
3

Bot releases are hidden (Show)

hugo-modules - modules/icons/v1.2024.4

Published by davidsneighbour 9 months ago

chore(release): modules/icons/v1.2024.4

hugo-modules - v1.2024.3

Published by davidsneighbour 9 months ago

chore(release): v1.2024.3

hugo-modules - modules/social/v0.1.37

Published by davidsneighbour 9 months ago

chore(release): modules/social/v0.1.37

hugo-modules - modules/icons/v1.2024.3

Published by davidsneighbour 9 months ago

chore(release): modules/icons/v1.2024.3

hugo-modules - modules/pwa/v1.2024.5

Published by davidsneighbour 9 months ago

chore(release): modules/pwa/v1.2024.5

hugo-modules - v1.2024.1

Published by davidsneighbour 9 months ago

chore(release): v1.2024.1

hugo-modules - modules/feeds/v1.2024.0

Published by davidsneighbour 9 months ago

chore(release): modules/feeds/v1.2024.0

hugo-modules - modules/opensearch/v1.2024.0

Published by davidsneighbour 9 months ago

chore(release): modules/opensearch/v1.2024.0

hugo-modules - modules/pwa/v1.2024.4

Published by davidsneighbour 9 months ago

chore(release): modules/pwa/v1.2024.4

hugo-modules - modules/pwa/v1.2024.3

Published by davidsneighbour 9 months ago

chore(release): modules/pwa/v1.2024.3

hugo-modules - modules/debug/v1.2024.0

Published by davidsneighbour 9 months ago

chore(release): modules/debug/v1.2024.0

hugo-modules - modules/debug/v1.2023.32

Published by davidsneighbour 9 months ago

chore(release): modules/debug/v1.2023.32

hugo-modules - modules/icons/v1.2024.1

Published by davidsneighbour 9 months ago

BREAKING CHANGES (+ expect breaking changes in the next release):

I reworked the way icons are included into a "SVG + use + defs way". Explanations will follow, if your implementation breaks use 1.2023.max for now.

call plugin:

{{- partials.Include "bsicon.html" "calendar3" -}}

What happens:

  • the first time this is called, the icon will be added to the local icon stack and a placeholder with ID will be sent to output
  • each subsequent time this is called a placeholder with ID will be sent to the output
  • include the symbols partial ONCE at the end of the page (or anywhere else, the end is nicer to the pageload). this will output all icons once to enable the calls via ID
{{- partials.Include "icons/symbols.html" . -}}

Without this single call to symbols.html the icons will stay empty.

This will improve the pagesize/load for multi calls to the same icon.

Known issue:

  • DO NOT cache the bsicon.html partial it will cache subsequent calls automatically

Future breaking changes

  • currently all icons are 20x20 sized, future calls to bsicon.html will accept an options collection instead of the plain icon name to set some settings
  • bootstrap will be implemented first and other icon frameworks will be removed for now
hugo-modules - modules/sitemap/v1.2024.5

Published by davidsneighbour 9 months ago

chore(release): modules/sitemap/v1.2024.5

hugo-modules - modules/sitemap/v1.2024.3

Published by davidsneighbour 9 months ago

chore(release): modules/sitemap/v1.2024.3

hugo-modules - modules/sitemap/v1.2024.2

Published by davidsneighbour 9 months ago

chore(release): modules/sitemap/v1.2024.2

hugo-modules - modules/sitemap/v1.2024.1

Published by davidsneighbour 9 months ago

chore(release): modules/sitemap/v1.2024.1

hugo-modules - modules/sitemap/v1.2024.0

Published by davidsneighbour 9 months ago

chore(release): modules/sitemap/v1.2024.0

hugo-modules - modules/hooks/v1.2024.1

Published by davidsneighbour 10 months ago

chore(release): modules/hooks/v1.2024.1

hugo-modules - modules/hooks/v1.2024.0

Published by davidsneighbour 10 months ago

chore(release): modules/hooks/v1.2024.0