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
828a44d347
arrownav: inline meta calculation #685
2024-10-11 16:45:45 +02:00
Sören Weber
a7d090b667
theme: harmonize querying hiddenstem #891
2024-10-11 16:45:42 +02:00
Sören Weber
d4cbccdde0
theme: switch partialCached key to .Path #685
2024-10-11 16:45:41 +02:00
Sören Weber
8692fc4988
theme: broadly renaming template files #891
2024-10-11 16:45:40 +02:00
Sören Weber
e95d057776
theme: replace output-partial by Hugo mechanisms #891
2024-10-11 16:45:37 +02:00
Sören Weber
4d706da3fc
theme: remove output format from topbar, dependency loader and base/header #891
2024-10-11 16:45:35 +02:00
Sören Weber
86aad0a516
404: move styles to separate file #889
2024-08-23 00:11:54 +02:00
Sören Weber
58815765c5
theme: remove special cases for LanguageCode #861
2024-05-28 22:34:58 +02:00
Sören Weber
0a105872f6
schema: remove HTML validation warnings #844
2024-04-27 15:00:08 +02:00
Sören Weber
07f5acc184
theme: merge title generation into one partial #825
2024-04-07 22:13:52 +02:00
Sören Weber
24c7258eb4
theme: dry out title generation #825
2024-04-07 21:41:06 +02:00
Sören Weber
d0cc34396d
openapi: next try #804
...
Hugo's making me angry
2024-03-16 18:40:06 +01:00
Sören Weber
9227dfd41f
i18n: support for languageDirection #733
2023-11-28 21:39:50 +01:00
Sören Weber
42b604b4fb
i18n: support for languageCode and standard Hugo options #733
2023-11-28 21:31:35 +01:00
Sören Weber
6c5bf0f9a4
404: remove artifact #685
2023-10-19 21:16:56 +02:00
Sören Weber
3010750fb0
dependencies: make injection symmetrical #683
2023-10-12 21:11:51 +02:00
Sören Weber
c6db1f061d
dependencies: make it work in the header #682
2023-10-11 23:58:25 +02:00
Sören Weber
e090fc89c0
theme: fix id generation for markdownified titles #657
2023-09-30 21:45:39 +02:00
Sören Weber
e18c213e8c
theme: avoid id collisions between headings and theme #646
2023-09-23 10:18:31 +02:00
Sören Weber
82ba045702
topbar: move sidebar- and toc-overlay into topbar #639
...
for better modularization by keeping their whole functionality DOMwise in one place
2023-09-13 23:25:47 +02:00
Sören Weber
9555614ac4
404: fix display in RTL #597
2023-07-27 16:31:50 +02:00
Sören Weber
5e71d61c46
shortcodes: change context parameter to page if called as partial #595
2023-07-27 16:14:55 +02:00
Sören Weber
b85376f164
theme: flip 404 image #566
2023-06-10 14:18:38 +02:00
Sören Weber
25a2358096
theme: revamp 404 page #566
2023-06-10 13:56:58 +02:00
Sören Weber
c975dfd2de
theme: make sure to display well with no theme specific params set #516
2023-05-18 14:03:39 +02:00
Sören Weber
d3762944b5
theme: fix resource URLs for 404 page on subdirectories #515
2023-05-04 22:27:12 +02:00
Sören Weber
c995d6a692
404: margin of 0 is unitless #466
2023-02-17 15:08:43 +01:00
Sören Weber
e57f05f7b4
markdown: fix h1 ids for multiple words title and foreign characters #459
2023-02-01 08:17:48 +01:00
Sören Weber
1b63c4cb0f
theme: fix urls for file:// protocol in sitemap #385
2022-11-15 07:34:06 +01:00
Sören Weber
c7435b476b
theme: add id to h1 elements #384
2022-11-13 22:33:55 +01:00
Sören Weber
d2d7d808a0
theme: only use RelPermalink for caching #380
...
because achretypes caching was unreliable when the whole page was used;
Hugo bug or is it just me?
2022-11-13 11:33:32 +01:00
Sören Weber
1c251f0790
theme: reduce calls to output-format.hugo III #380
2022-11-13 10:55:17 +01:00
Sören Weber
82a8b2f8c6
theme: cache calls to fileExists #380
2022-11-12 15:16:53 +01:00
Sören Weber
f23d4163d8
theme: simplify refLangPrettyUglyURL.hugo #380
2022-11-11 13:44:23 +01:00
Sören Weber
b1866d62df
theme: cache page-meta.hugo #380
2022-11-11 13:43:23 +01:00
docxml
6ef984c36a
Update 404.html
...
Typo
2022-11-08 15:45:50 +01:00
Sören Weber
54878e0407
theme: fix overflowing issue tooltips #364
...
in rtl, the scrollbars were still in ltr mode which was now changed to avoid overflow of tooltips when attached to the "ending" corner of the box
2022-11-07 20:57:17 +01:00
Sören Weber
01cfcfe67b
theme: allow to be served by file:// protocol #349
2022-11-02 00:14:19 +01:00
Sören Weber
0ac97ba47e
i18n: support RTL in content #357
2022-11-01 02:00:50 +01:00
Sören Weber
c73d64b0a7
theme: move essential call to page-meta to prominent location #308
2022-07-12 00:24:57 +02:00
Sören Weber
b8a49da2f5
theme: robust way to determine output format #308
2022-07-11 00:59:26 +02:00
Sören Weber
6f806cc5ea
favicon: fix all URLs if site resides in subfolder #302
2022-07-06 00:26:30 +02:00
Sören Weber
ae3ad846cc
theme: improve keyboard navigation for scrolling #268
2022-06-06 23:58:00 +02:00
Sören Weber
459c07da6f
theme: remove unused style classes
2022-04-03 18:33:50 +02:00
Sören Weber
0dd92e332b
print: add option to print whole chapter #230
2022-04-02 15:29:34 +02:00
Sören Weber
bc018cbb0d
mobile: hide initial menu animation in landscape #210
2022-03-13 12:36:48 +01:00
Sören Weber
30bf0250e4
mobile: avoid clunky animation when switching to mobile #210
2022-03-13 11:49:56 +01:00
Sören Weber
ea8b527f25
mobile: fix navigation UX #209 #210
2022-02-28 01:19:32 +01:00
Sören Weber
a980b77491
theme: rename sidebar overlay #210
...
because we will introduce a second toc overlay soon
2022-02-27 09:59:38 +01:00