hugo-theme-relearn/exampleSite/content
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
..
authoring menu: add toml reference #148 2024-10-25 00:24:25 +02:00
configuration theme: fix flash of non-default variant, part I #757 2024-12-06 07:38:05 +01:00
development docs: add categories taxonomy #567 2024-10-12 19:28:32 +02:00
frontmatter docs: chapter 3 content-complete #567 2024-10-12 18:38:04 +02:00
introduction theme: fix flash of non-default variant, part I #757 2024-12-06 07:38:05 +01:00
more menu: support nested Hugo menus #423 2024-10-22 19:35:28 +02:00
options #docs: reorganize options and frontmatter index #567 2024-10-11 16:47:26 +02:00
shortcodes theme: fix flash of non-default variant, part I #757 2024-12-06 07:38:05 +01:00
showcase menu: support nested Hugo menus #423 2024-10-22 19:35:28 +02:00
tags #docs: call it front matter #567 2024-10-11 16:47:30 +02:00
_index.en.md docs: rename chapter 1 #567 2024-10-11 16:47:18 +02:00
_index.pir.md docs: rename chapter 1 #567 2024-10-11 16:47:18 +02:00