Commit graph

2730 commits

Author SHA1 Message Date
Sören Weber
0505b36141
theme: fix flash of non-default variant, part I
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 2024-12-06 00:23:16 +01:00
Mohammadtaher Abbasi
0d63839232
Update _index.en.md 2024-12-05 22:38:07 +03:30
Mohammadtaher Abbasi
844f6e24cc
Update README.md 2024-12-05 22:36:47 +03:30
Mohammadtaher Abbasi
c7aea29494
Create fa.toml
add perisan support
2024-12-05 22:27:01 +03:30
Sören Weber
25824cef5b
mermaid: print preview closes automatically after opening 2024-12-04 20:10:25 +01:00
Sören Weber
be85052efe
docs: compat statement 2024-12-01 22:51:50 +01:00
Sören Weber
d3bf75bfc7
notice: fix broken color parameter 2024-12-01 22:38:55 +01:00
Sören Weber
fc764993a8
docs: details shortcode 2024-12-01 22:21:27 +01:00
Sören Weber
b03a0f508a
details: support built-in Hugo shortcode 2024-12-01 22:17:24 +01:00
Sören Weber
39fcbb3283
menu: replace clumsy expand implementation 2024-11-30 19:55:14 +01:00
Sören Weber
62b52bb868
notice: add parameter groupid 2024-11-30 19:37:03 +01:00
Sören Weber
bda57027b3
notice: improve accessibility of notice title
switch to details/summary elements which hopefully has better a11y
and will simplify state handling as it is build into the browser
2024-11-30 19:10:58 +01:00
Sören Weber
15b9b378f4
docs: releasenotes order fix 2024-11-29 22:55:37 +01:00
Sören Weber
1bb7c1d99e
docs: releasenotes 2024-11-29 22:45:27 +01:00
Sören Weber
e32ff04f06
expand: use notice internally 2024-11-29 22:41:18 +01:00
Sören Weber
21dbabfdb4
docs: pick README hero image from official address 2024-11-29 19:52:11 +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 2024-11-27 19:24:09 +01:00
Sören Weber
a36e20dad7
theme: changed prettier settings 2024-11-27 19:23:52 +01:00
Sören Weber
81cd475341
mermaid: escape diagram the recommended way 2024-11-23 20:57:49 +01:00
Sören Weber
9955fc97bd
search: fix compat error with Hugo 0.126.0 2024-11-22 13:18:29 +01:00
Sören Weber
a23eb3a9d8
Revert "theme: remove .Scratch with .Store "
This reverts commit ab4197f311.
2024-11-19 10:18:49 +01:00
Sören Weber
ab4197f311
theme: remove .Scratch with .Store 2024-11-18 19:13:41 +01:00
Sören Weber
40ede377c8
theme: Hugo 0.139 without verbose option 2024-11-18 19:10:26 +01:00
Sören Weber
6cb54ccb05
theme: format vscode files 2024-11-18 14:07:11 +01:00
Sören Weber
b48b344b6d
theme: add Prettier extension to workspace 2024-11-18 00:20:29 +01:00
Sören Weber
a22e183c51
theme: move fonts all into one dir 2024-11-16 00:37:07 +01:00
Sören Weber
ce72cce3e9
theme: format more files 2024-11-16 00:30:25 +01:00
Sören Weber
348702d8c2
theme: apply Prettier config 2024-11-15 23:38:25 +01:00
Sören Weber
85d43bcef3
theme: add Prettier config 2024-11-15 23:37:56 +01:00
Sören Weber
57defcfab7
theme: prepare for Prettier config 2024-11-15 23:36:23 +01:00
GitHub Actions Bot
28fce6b04c Ship tag 7.1.1 2024-10-25 06:34:18 +00:00
Sören Weber
247eccdb65
children: remove superflous text ".LinkTitle" 2024-10-25 08:33:18 +02:00
Sören Weber
ad8ee549a7
menu: add toml reference 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 2024-10-25 00:10:36 +02:00
Sören Weber
41a1e95d1e
docs: add badge 2024-10-24 23:41:00 +02:00
Sören Weber
10fb679d67
menu: support for external links 2024-10-24 23:34:42 +02:00
Sören Weber
40a55a3e52
menu: fix style for non-main submenus 2024-10-24 19:57:02 +02:00
Sören Weber
9797e071ae
docs: revert test code 2024-10-24 17:36:25 +02:00
Sören Weber
0938e8bd2e
docs: merge menu docs 2024-10-24 17:25:32 +02:00
Sören Weber
4190479458
search: wrong searchindex URL with multilang per server config 2024-10-24 16:28:29 +02:00
Sören Weber
4ed15c8096
docs: honing 2024-10-24 14:53:06 +02:00
Sören Weber
fef9c630c4
docs: support nested Hugo menus - menu title 2024-10-23 21:30:03 +02:00
Sören Weber
d6f35f44f6
docs: support nested Hugo menus - first draft 2024-10-22 23:57:26 +02:00
Sören Weber
79b43fcfce
menu: support nested Hugo menus 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
f4348298b5
search: search page not generated with renderer.unsafe=false 2024-10-15 15:43:04 +02:00