hugo-theme-relearn/exampleSite/content/shortcodes
Sören Weber 0505b36141
theme: fix flash of non-default variant, part I #757
implements the first part, working for configured variants;

for that, loading of stylesheets was overhauled by now
merging all configured variants into one big stylesheet for
each output format and loading this instead of one stylesheet
per configured variant;

previously @media print styles were applied on top of @media screen
styles; this is now strictly isolated, which doesn't require styles
like neon to revert styles for print anymore;

this change was also used to implement the minify parameter, to shrink
those generated stylesheets, making them shrink to 66% of their
unminified size for the exampleSite;

the theme switcher functionality is now completely independend of
variant.js; the switch is now handled by in-page javascript which
avoids waiting for external scripts to load, so switching can happen
as early as possible;

switching of themes is now implemented by just setting a data attribute
to the html element, were previously a complex mechanism of dynamically
loading of variant CSS files was implemented;

the call for variant.js was removed in this changeset, making the
generator broken and useless; this will be fixed with the next patch;
2024-12-06 07:38:05 +01:00
..
attachments docs: add categories taxonomy #567 2024-10-12 19:28:32 +02:00
children children: use LinkTitle instead of Title #939 2024-10-25 00:10:36 +02:00
include docs: add ambiguity to examples combining front matter and options #567 2024-10-13 15:01:54 +02:00
openapi docs: add ambiguity to examples combining front matter and options #567 2024-10-13 15:01:54 +02:00
resources docs: add categories taxonomy #567 2024-10-12 19:28:32 +02:00
_index.en.md docs: add categories taxonomy #567 2024-10-12 19:28:32 +02:00
_index.pir.md docs: add categories taxonomy #567 2024-10-12 19:28:32 +02:00
badge.en.md docs: add categories taxonomy #567 2024-10-12 19:28:32 +02:00
badge.pir.md docs: add categories taxonomy #567 2024-10-12 19:28:32 +02:00
button.en.md docs: add categories taxonomy #567 2024-10-12 19:28:32 +02:00
button.pir.md docs: add categories taxonomy #567 2024-10-12 19:28:32 +02:00
expand.en.md docs: compat statement #957 2024-12-01 22:51:50 +01:00
expand.pir.md docs: add categories taxonomy #567 2024-10-12 19:28:32 +02:00
highlight.en.md docs: add ambiguity to examples combining front matter and options #567 2024-10-13 15:01:54 +02:00
highlight.pir.md docs: add categories taxonomy #567 2024-10-12 19:28:32 +02:00
icon.en.md docs: add categories taxonomy #567 2024-10-12 19:28:32 +02:00
icon.pir.md docs: add categories taxonomy #567 2024-10-12 19:28:32 +02:00
math.en.md docs: add ambiguity to examples combining front matter and options #567 2024-10-13 15:01:54 +02:00
math.pir.md docs: add categories taxonomy #567 2024-10-12 19:28:32 +02:00
mermaid.en.md theme: fix flash of non-default variant, part I #757 2024-12-06 07:38:05 +01:00
mermaid.pir.md docs: add categories taxonomy #567 2024-10-12 19:28:32 +02:00
notice.en.md notice: add parameter groupid #954 2024-11-30 19:37:03 +01:00
notice.pir.md docs: add categories taxonomy #567 2024-10-12 19:28:32 +02:00
siteparam.en.md docs: add categories taxonomy #567 2024-10-12 19:28:32 +02:00
siteparam.pir.md docs: add categories taxonomy #567 2024-10-12 19:28:32 +02:00
tab.en.md docs: add categories taxonomy #567 2024-10-12 19:28:32 +02:00
tab.pir.md docs: add categories taxonomy #567 2024-10-12 19:28:32 +02:00
tabs.en.md docs: add categories taxonomy #567 2024-10-12 19:28:32 +02:00
tabs.pir.md docs: add categories taxonomy #567 2024-10-12 19:28:32 +02:00