Commit graph

1011 commits

Author SHA1 Message Date
Sören Weber
deee4ae6b7
theme: fix flash of non-default variant, part II #757
adapt the variant generator to previous changes;
interestingly, the new mechanism caused the variant generator
to be greatly simplified; something, I didn't expect beforehand
2024-12-08 00:17:03 +01:00
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
Sören Weber
2c5ac2b600
theme: add Persian language #961
Some checks failed
docs-build-deployment / Run deploy (push) Has been cancelled
docs-build / Run build (push) Has been cancelled
2024-12-06 00:23:16 +01:00
Mohammadtaher Abbasi
0d63839232
Update _index.en.md 2024-12-05 22:38:07 +03:30
Sören Weber
be85052efe
docs: compat statement #957
Some checks failed
docs-build-deployment / Run deploy (push) Has been cancelled
docs-build / Run build (push) Has been cancelled
2024-12-01 22:51:50 +01:00
Sören Weber
fc764993a8
docs: details shortcode #957 2024-12-01 22:21:27 +01:00
Sören Weber
62b52bb868
notice: add parameter groupid #954 2024-11-30 19:37:03 +01:00
Sören Weber
15b9b378f4
docs: releasenotes order fix #951
Some checks are pending
docs-build-deployment / Run deploy (push) Waiting to run
docs-build / Run build (push) Waiting to run
2024-11-29 22:55:37 +01:00
Sören Weber
1bb7c1d99e
docs: releasenotes #951 2024-11-29 22:45:27 +01:00
Sören Weber
e32ff04f06
expand: use notice internally #953 2024-11-29 22:41:18 +01:00
Sören Weber
575353a9b1
docs: honing 2024-11-29 19:43:27 +01:00
Sören Weber
bc369da06e
mermaid: update to 11.4.1 #951 2024-11-27 19:24:09 +01:00
GitHub Actions Bot
28fce6b04c Ship tag 7.1.1
Some checks failed
docs-build-deployment / Run deploy (push) Has been cancelled
docs-build / Run build (push) Has been cancelled
2024-10-25 06:34:18 +00:00
Sören Weber
ad8ee549a7
menu: add toml reference #148
Some checks are pending
docs-build-deployment / Run deploy (push) Waiting to run
docs-build / Run build (push) Waiting to run
2024-10-25 00:24:25 +02:00
GitHub Actions Bot
29d6916325 Ship tag 7.1.0 2024-10-24 22:14:28 +00:00
Sören Weber
8da8ed8614
children: use LinkTitle instead of Title #939 2024-10-25 00:10:36 +02:00
Sören Weber
41a1e95d1e
docs: add badge #148 2024-10-24 23:41:00 +02:00
Sören Weber
10fb679d67
menu: support for external links #148 2024-10-24 23:34:42 +02:00
Sören Weber
9797e071ae
docs: revert test code #423
Some checks are pending
docs-build-deployment / Run deploy (push) Waiting to run
docs-build / Run build (push) Waiting to run
2024-10-24 17:36:25 +02:00
Sören Weber
0938e8bd2e
docs: merge menu docs #423 2024-10-24 17:25:32 +02:00
Sören Weber
4ed15c8096
docs: honing #423 2024-10-24 14:53:06 +02:00
Sören Weber
fef9c630c4
docs: support nested Hugo menus - menu title #423 2024-10-23 21:30:03 +02:00
Sören Weber
d6f35f44f6
docs: support nested Hugo menus - first draft #423 2024-10-22 23:57:26 +02:00
Sören Weber
79b43fcfce
menu: support nested Hugo menus #423 2024-10-22 19:35:28 +02:00
Sören Weber
06e70da8a6
docs: typo 2024-10-15 18:12:13 +02:00
GitHub Actions Bot
72a875f1db Ship tag 7.0.1 2024-10-15 13:44:32 +00:00
Sören Weber
68d562d0db
build: finally fixing releasenotes 2024-10-15 12:38:44 +02:00
Sören Weber
179369e4b4
build: manually fixing releasenotes and changelog 2024-10-13 17:22:09 +02:00
GitHub Actions Bot
72a36ea6e7 Ship tag 7.0.0 2024-10-13 14:29:14 +00:00
Sören Weber
cb2e82861e
docs: honing #567 2024-10-13 15:19:34 +02:00
Sören Weber
a68b5ec4d1
docs: add ambiguity to examples combining front matter and options #567 2024-10-13 15:01:54 +02:00
Sören Weber
c71bc520d7
docs: list available variants #567
do visually impaired people a favor
2024-10-13 14:50:23 +02:00
Sören Weber
9f69cb73b0
theme: make users with font changes accountable #922 2024-10-13 00:48:07 +02:00
Sören Weber
75d9839bd8
docs: showcase tags taxonomy #567 2024-10-12 19:32:16 +02:00
Sören Weber
41cefeda69
docs: add categories taxonomy #567 2024-10-12 19:28:32 +02:00
Sören Weber
b581dbb6e5
docs: honing #567 2024-10-12 18:44:36 +02:00
Sören Weber
e4e750c1cc
docs: chapter 3 content-complete #567
add other stuff
2024-10-12 18:38:04 +02:00
Sören Weber
dcaeb13860
docs: crosslinking chapter 2 #567 2024-10-12 10:53:02 +02:00
Sören Weber
21e80798f3
docs: finalize dir structure of chapter 3 #567 2024-10-11 23:02:00 +02:00
Sören Weber
7e0a04d9aa
docs: distinctively name directories #567
too much `content`
2024-10-11 22:40:14 +02:00
Sören Weber
8907aa613b
docs: fix typo, thanks Barbara #567 2024-10-11 21:02:06 +02:00
Sören Weber
27b3d7f0ea
docs: merge changes 6.4.1 #567 2024-10-11 16:55:09 +02:00
Sören Weber
3fafedc76f
docs: chapter 3 rough draft #567 2024-10-11 16:47:38 +02:00
Sören Weber
8e3156ce70
docs: add missing tags #567 2024-10-11 16:47:37 +02:00
Sören Weber
21c7bb3034
logo: move Relearn logo to exampleSite #924 2024-10-11 16:47:36 +02:00
Sören Weber
4d2b55e64b
docs: honing #567 2024-10-11 16:47:36 +02:00
Sören Weber
19c3e8ee49
docs: finally feature complete for chapter 2 #567 2024-10-11 16:47:35 +02:00
Sören Weber
b59adb32eb
docs: typo #567 2024-10-11 16:47:35 +02:00
Sören Weber
8e2eb1ae73
docs: honing #567 2024-10-11 16:47:34 +02:00
Sören Weber
1fea948000
docs: fixing links #567 2024-10-11 16:47:34 +02:00