Commit graph

136 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
66f4fbf5f0
details: add shortcode #957
Some checks failed
docs-build-deployment / Run deploy (push) Has been cancelled
docs-build / Run build (push) Has been cancelled
2024-12-15 15:35:13 +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
cb6f3467cd
#docs: call it front matter #567 2024-10-11 16:47:30 +02:00
Sören Weber
85191809ea
docs: rename chapter 1 #567 2024-10-11 16:47:18 +02:00
Sören Weber
fe70bb4e46
theme: rename dependencies.html #891 2024-10-11 16:47:01 +02:00
Sören Weber
a1ab7ecb2d
theme: remove author deprecation warning #919 2024-10-11 16:46:48 +02:00
Sören Weber
7e28003401
docs: change anchor naming scheme #917 2024-10-11 16:46:46 +02:00
Sören Weber
9f9e449be8
theme: remove whitespace from article #891
to avoid to be interpreted as indented code in some scenarios
2024-10-11 16:46:42 +02:00
Sören Weber
5356b3b15a
theme: restructure release notes #917 2024-10-11 16:46:41 +02:00
Sören Weber
c5db84c5db
theme: add migration layer #891 2024-10-11 16:45:46 +02:00
Sören Weber
828a44d347
arrownav: inline meta calculation #685 2024-10-11 16:45:45 +02:00
Sören Weber
3a2118a89d
theme: remove deprecation waring for usage of .Sites.First #912 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
4adf99061b
theme: make migration easier #891
content.html is meant to be overloaded by the user and it should just work
so every logic needs to be put somewhere else
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
0c8efa7699
theme: consistent naming #891 2024-10-11 16:45:39 +02:00
Sören Weber
eceebaf8df
theme: wildspace 2024-10-11 16:45:38 +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
a467f6f087
search: special handling for generated page #888 2024-10-11 16:45:36 +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
33f9cb6e78
shortcodes: fix whitespace issues #907 2024-09-05 20:02:38 +02:00
Sören Weber
0be4927452
theme: support Obsidian styled alerts #903 2024-09-03 19:08:30 +02:00
Sören Weber
110c5124bd
toc: don't show toc button if empty #893 2024-08-27 15:36:39 +02:00
Sören Weber
83b1f27cb9
theme: support for GitHub styled alerts #885 2024-08-13 12:48:25 +02:00
Sören Weber
926bea4727
title: avoid to much dependency on outputFormat #685 2024-07-22 00:15:38 +02:00
Sören Weber
be860ccbf7
theme: misc stuff from optimization finds #685 2024-07-21 23:40:57 +02:00
Sören Weber
8894539070
theme: sync to Hugo changes for PublishDate #872 2024-06-30 10:54:48 +02:00
Sören Weber
64b4ad751e
theme: sync Hugo templates and unification #841 #845
- description
- title
- tags
2024-04-27 14:38:19 +02:00
Sören Weber
bd3a4030fb
search: remove JSON outputformat for search index #846 2024-04-27 00:21:02 +02:00
Sören Weber
b2a91ca5cc
theme: remove comment quirk in templates 2024-04-24 23:05:13 +02:00
Sören Weber
79b42f95a8
theme: unsupport description in hugo.toml #845 2024-04-24 22:40:39 +02:00
Sören Weber
82f946618c
theme: unify description #845 2024-04-24 21:36:06 +02:00
Sören Weber
af29d89995
theme: sync to Hugo's implementation #841 2024-04-22 22:43:59 +02:00
Sören Weber
daf525ddc5
sitemap: adjust to Hugo's build-in code #824 2024-04-07 23:41:14 +02:00
Sören Weber
c69541e983
rss: adjust to Hugo's build-in code #824 2024-04-07 23:16:37 +02:00
Sören Weber
24c7258eb4
theme: dry out title generation #825 2024-04-07 21:41:06 +02:00
Sören Weber
a9e7e8a492
mermaid: support Markdown attributes #795 2024-03-11 20:57:21 +01:00
Sören Weber
345de238c9
math: support Markdown attributes #795 2024-03-11 20:45:51 +01:00
Sören Weber
518ffb09df
image: support Markdown attributes #795 2024-03-10 14:40:23 +01:00
Sören Weber
af209c3f49
taxonomy: display translated title #772 2024-02-14 22:31:30 +01:00
Sören Weber
4bc5529bc8
theme: compatiblity for output format with Hugo 0.123 #771 2024-02-10 23:22:35 +01:00
Sören Weber
76782d06e5
taxonomy: naming things #742 2023-12-01 21:36:58 +01:00
Sören Weber
18061dbc06
taxonomy: make arrow nav browse thru terms #742 2023-12-01 01:03:51 +01:00
Sören Weber
a7519b9897
taxonomy: use title case for fallback term titles #713 2023-11-28 22:45:38 +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
0d51f64dfd
theme: remove code for older hugo versions #679 2023-11-26 21:19:24 +01:00
Sören Weber
7d676d80d4
taxonomy: humanize term on missing term title #713 2023-11-04 00:37:24 +01:00
Sören Weber
53a2305d70
taxonomy: fix broken term links and breadcrumb #712 2023-11-03 23:31:49 +01:00