Commit graph

50 commits

Author SHA1 Message Date
Sören Weber
fbec3905ed
markdown: support new output format #979 2024-12-31 14:32:47 +01:00
Sören Weber
2cd8baa02f
topbar: improve print button configuration #978 2024-12-31 14:11:55 +01:00
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
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
e4e750c1cc
docs: chapter 3 content-complete #567
add other stuff
2024-10-12 18:38:04 +02:00
Sören Weber
21c7bb3034
logo: move Relearn logo to exampleSite #924 2024-10-11 16:47:36 +02:00
Sören Weber
b07d21c8e7
math: adhere to Hugo's default config params #923 2024-10-11 16:47:26 +02:00
Sören Weber
51325dda45
docs: move pages around #567 2024-10-11 16:46:54 +02:00
Sören Weber
24726ef4b0
search: index file rename #888 2024-10-11 16:45:34 +02:00
Sören Weber
d9e69db2f1
search: create search index and page from template and content adapter #888 2024-10-11 16:44:22 +02:00
Sören Weber
70e51b0c26
notice: support user defined box styles #913 2024-09-12 07:55:24 +02:00
Sören Weber
0be4927452
theme: support Obsidian styled alerts #903 2024-09-03 19:08:30 +02:00
Sören Weber
efa0a93fb7
anchor: add option to scroll into view #886 2024-08-22 18:33:27 +02:00
Sören Weber
b493e170aa
docs: reference to codefences as Markdown codefences #885 2024-08-13 13:33:22 +02:00
Sören Weber
83b1f27cb9
theme: support for GitHub styled alerts #885 2024-08-13 12:48:25 +02:00
Sören Weber
89adb9665c
link: link resolving stopped working in certain configurations #882 2024-08-02 16:50:19 +02:00
Sören Weber
f2799f8c41
theme: allow errorlevel override on page level #870 2024-08-02 10:32:31 +02:00
Sören Weber
0703e15c19
relref: provide shortcodes to lift certain restrictions #864 2024-08-02 09:52:01 +02:00
Sören Weber
b0c38a6257
openapi: adjust to Hugo's build-in link render hook #860
- resolve render hook destination with leading ./
- configurable message for unresolved local adresses
2024-05-28 22:17:36 +02:00
Sören Weber
79b42f95a8
theme: unsupport description in hugo.toml #845 2024-04-24 22:40:39 +02:00
Sören Weber
f4df3a06ad
docs: fail on failure of resource lookup 2024-04-22 22:12:06 +02:00
Sören Weber
16053f5181
docs: math #832 2024-04-21 23:47:36 +02:00
Sören Weber
3a44b61416
include: use Hugo's resources #835 2024-04-19 17:58:38 +02:00
Sören Weber
99f33318a2
variants: add funky light/dark combination #831 2024-04-19 08:34:34 +02:00
Sören Weber
ca0db4d815
variant: remove unnecessary themeVariantModifier option #831 2024-04-19 00:03:45 +02:00
Sören Weber
555f609dd2
docs: fixing typos #581 2024-04-12 17:30:16 +02:00
Sören Weber
878102f3bc
image: add lazy loading image effect option #803 2024-03-16 10:00:40 +01:00
Sören Weber
2fe2ef2b7e
docs: resolve /images correctly for GitHub 2024-02-24 14:26:00 +01:00
Sören Weber
7571df9262
docs: don't warn on static image resolution #774 2024-02-18 00:58:49 +01:00
Sören Weber
b77a8ff114
link: make resolution reporting configurable #774 2024-02-18 00:50:55 +01:00
Sören Weber
eaabbfd6ef
topbar: support editURL in frontmatter #764 2024-01-27 12:06:39 +01:00
Sören Weber
67e1f2567b
theme: wildspace and typos 2024-01-05 16:35:04 +01:00
Sören Weber
f39d2b9a41
docs: more typos 2023-12-04 00:14:35 +01:00
Sören Weber
7c97f7b610
variant: docs typo #679 #734 2023-12-03 15:34:43 +01:00
Sören Weber
8cca74e3e6
variant: introduce option for filename modifier #679 #734 2023-12-03 15:22:32 +01:00
Sören Weber
a98fa1e0f8
docs: addenum #721 2023-11-30 00:47:32 +01:00
Sören Weber
283c61a0fd
theme: switch from config.toml to hugo.toml #741 2023-11-30 00:14:22 +01:00
Sören Weber
9145cda1ed
docs: document all frontmatter options #721 2023-11-28 23:52:24 +01:00
Sören Weber
c7dd2632a3
config: order shortcodes alphabetically #721 2023-11-24 23:47:55 +01:00
Sören Weber
93d42ffb5e
config: docs #679 2023-11-23 01:13:50 +01:00
Sören Weber
a435587765
variant: themeVariantAuto for advanced options #679 2023-11-23 01:05:26 +01:00
Sören Weber
98cbf97fcb
docs: advanced color variant #679 2023-11-21 00:53:33 +01:00
Sören Weber
258093e2d5
variant: allow extended configuration #679
currently only the additional name option is recognized
2023-11-20 09:39:40 +01:00
Sören Weber
10f696e4ce
docs: moving some options around #721 2023-11-18 22:49:03 +01:00
Sören Weber
a9ec209e66
docs: mention dependency loader #721 2023-11-17 00:39:54 +01:00
Sören Weber
f2af6bf607
docs: add some missing options of config.toml #721 2023-11-17 00:30:09 +01:00
Sören Weber
682e6b6119
docs: simplify config doc #721 2023-11-16 22:51:45 +01:00
Sören Weber
2e07b80460
docs: comprehensivly document config.toml #721 2023-11-16 00:21:08 +01:00