Commit graph

886 commits

Author SHA1 Message Date
Sören Weber
1250bf30a8
theme: simplify additional JS dependencies #682 2023-10-09 17:42:51 +02:00
Sören Weber
d2cfca4b2e
theme: fix mobile layout for width=48rem #676
clumsy solution as long as we still support IE11, otherwise we could have used
media query range syntax
2023-10-05 08:51:31 +02:00
Sören Weber
4a69b1b5bc
docs: categories icon #671 2023-10-05 08:11:46 +02:00
Sören Weber
93b115b7cb
taxonomy: add style and color parameter for tags #671 2023-10-03 22:49:49 +02:00
Sören Weber
b2e07af42d
docs: make usage of icons unique #671
the category icon was also used inverted as the toc icon
2023-10-03 21:51:02 +02:00
Sören Weber
44ddcd2fc3
taxonomy: add taxonomy title to whole div #671 2023-10-03 21:27:45 +02:00
Sören Weber
e871f5ebc0
taxonomy: fix typ in class name #671 2023-10-03 20:26:41 +02:00
Sören Weber
15959fe60d
taxonomy: modularize term list generation #671 2023-10-03 13:20:20 +02:00
Sören Weber
3dfa5d718e
taxonomy: display terms in pages if removePathAccents=true #669 2023-10-03 02:12:16 +02:00
Sören Weber
f1a58b8a8f
Merge remote-tracking branch 'origin/main' 2023-10-03 01:29:23 +02:00
Sören Weber
5d5f288bbf
theme: remove warnings with hugo --printI18nWarnings #670 2023-10-03 01:28:24 +02:00
GitHub Actions Bot
827d2fda54 Mark non-release version 2023-10-02 09:44:46 +00:00
GitHub Actions Bot
de60dd1c81 Ship tag 5.22.1 2023-10-02 09:44:35 +00:00
Sören Weber
00175972d9
tabs: improve a11y by removing duplicate hidden title #662 2023-10-01 21:06:39 +02:00
Sören Weber
394ff3f7b2
mermaid: improve zoom UX #659 2023-10-01 12:21:29 +02:00
Sören Weber
d4fed0ac71
expand: fix aria-controls #658 2023-09-30 22:02:38 +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
5342161fed
mermaid: avoid graph bombing on hugo --minify #656 2023-09-30 21:41:31 +02:00
GitHub Actions Bot
45113efdf1 Mark non-release version 2023-09-26 20:54:22 +00:00
GitHub Actions Bot
c5c43b6003 Ship tag 5.22.0 2023-09-26 20:54:13 +00:00
Sören Weber
e6da7becae
theme: fix even more broken id renaming #646 2023-09-26 22:47:21 +02:00
Sören Weber
df554691ce
theme: fix broken id renaming #646 2023-09-26 22:42:06 +02:00
Sören Weber
b78ee3d8af
tabs: remove further HTML validtion errors #644 2023-09-26 22:37:19 +02:00
Sören Weber
451cd0d4db
breadcrumbs: restore schema hierachy #647 2023-09-26 22:25:47 +02:00
Sören Weber
175b0c8806
mermaid: add pan&zoom reset #651 2023-09-26 22:22:52 +02:00
Sören Weber
a172a50c52
docs: fix logo margin with --minify #643 2023-09-24 01:09:48 +02:00
Sören Weber
7622913ac2
search: add breadcrumb to dedicated search results #647 2023-09-24 00:27:39 +02:00
Sören Weber
7665c8a261
theme: wildspace #647 2023-09-23 23:28:31 +02:00
Sören Weber
09ad8299e7
theme: to much renaming #646 2023-09-23 23:22:16 +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
4883af03d4
theme: fix link in deprecation warning #565 2023-09-21 21:54:29 +02:00
Sören Weber
e7eb9aa366
theme: remove HTML validation errors #644 2023-09-21 21:34:02 +02:00
Sören Weber
583f94e4b9
menu: wildspace #642 2023-09-21 17:24:10 +02:00
Sören Weber
493e23ebe1
menu: optionally disable index pages for sections #642 2023-09-21 17:23:41 +02:00
Sören Weber
bb68b7b28a
breadcrumb: remove superflous whitespace between items #643 2023-09-21 00:26:42 +02:00
GitHub Actions Bot
97f7a2a0ae Mark non-release version 2023-09-18 19:07:03 +00:00
GitHub Actions Bot
28306fb842 Ship tag 5.21.0 2023-09-18 19:06:54 +00:00
Sören Weber
8bd202954d
topbar: make buttons configurable #639 2023-09-18 20:24:49 +02:00
Sören Weber
6cd5a93198
topbar: make button flyouts modular #639 2023-09-15 00:23:41 +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
564f95145c
topbar: wildspace for toc #639 2023-09-13 23:23:38 +02:00
Sören Weber
9a5136d0be
topbar: switch to flex layout #639 2023-09-13 23:10:41 +02:00
Sören Weber
6138eb1b62
topbar: wildspace #639 2023-09-12 23:20:17 +02:00
Sören Weber
5d89ffcfd0
topbar: fix HTML validator errors #639 2023-09-12 23:18:49 +02:00
Sören Weber
626841a16c
topbar: modularize left sided buttons #639 2023-09-12 23:09:14 +02:00
Sören Weber
2c3c9d1013
topbar: cleanup #639 2023-09-12 00:15:28 +02:00
Sören Weber
bef1accd20
topbar: modularize buttons #639 2023-09-12 00:10:03 +02:00
Sören Weber
a7c22bc579
piratify: fix Hugo build for --minify #636 2023-09-05 13:09:02 +02:00
Sören Weber
e84e77f44b
breadcrumb: don't ignore spaces for separator #636 2023-09-05 13:08:16 +02:00
Sören Weber
82d3a9aabf
images: apply image effects to lightbox images #631 2023-08-26 22:41:07 +02:00
GitHub Actions Bot
937af7214c Mark non-release version 2023-08-26 16:15:48 +00:00
GitHub Actions Bot
f2f5bcf755 Ship tag 5.20.0 2023-08-26 16:15:38 +00:00
Sören Weber
d9c59a13e3
highlight: fix rendering for Hugo < 0.111 #630 2023-08-26 12:08:34 +02:00
Sören Weber
9de73221c4
images: ignore empty <p>s generated by Hugo #576 2023-08-25 23:51:18 +02:00
Sören Weber
151c31e142
images: allow option to apply image effects globally #623 2023-08-25 19:09:50 +02:00
Sören Weber
ed1715d467
theme: support for colored borders between menu and content #626 2023-08-25 03:14:09 +02:00
Sören Weber
f51f843ca6
highlight: don't switch to block view if hl_inline=true #618 2023-08-14 10:36:48 +02:00
GitHub Actions Bot
43d5d2ec2d Mark non-release version 2023-08-12 23:43:53 +00:00
GitHub Actions Bot
8c853b0604 Ship tag 5.19.0 2023-08-12 23:43:42 +00:00
Sören Weber
df49cdd3ef
highlight: add title parameter #616 2023-08-13 00:58:41 +02:00
Sören Weber
6e5ca298e7
siteparam: avoid halt if param is a map/slice #611 2023-08-12 13:13:03 +02:00
Marcel Beck
be45120c46 feat: use yaml instead of directive for new mermaid diagram types
mermaid is deprecating directives for new diagram types: https://github.com/mermaid-js/mermaid/issues/4630
2023-07-28 21:13:56 +02:00
GitHub Actions Bot
9221e7e07f Mark non-release version 2023-07-27 19:23:55 +00:00
GitHub Actions Bot
d33761c03f Ship tag 5.18.0 2023-07-27 19:23:43 +00:00
Sören Weber
34b1347acd
build: switch to stable HTML anchors in migration docs #599 2023-07-27 17:47:36 +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
e9d3eb6489
siteparam: support nested parameters and text formatting #590 2023-07-26 22:29:03 +02:00
Sören Weber
1be79e0b4f
a11y: fix tag nesting in menu #581 2023-07-26 20:36:45 +02:00
Sören Weber
2835ef004a
theme: avoid duplicate title on home page if no file is provided #580 2023-06-28 20:46:09 +02:00
Sören Weber
de625fe57b
theme: avoid false deprecation message if initial.md is displayed #580 2023-06-28 20:34:32 +02:00
Sören Weber
8fd3f79c9a
a11y: improve "clear search" button #581 2023-06-28 20:17:29 +02:00
Sören Weber
20e14fb4d6
theme: restore compat with Hugo 0.95.0 #580 2023-06-28 19:40:07 +02:00
Sören Weber
75cdd546e0
a11y: improve outline style for menu controls #581 2023-06-28 18:32:30 +02:00
GitHub Actions Bot
61ccf4e42f Mark non-release version 2023-06-22 17:05:10 +00:00
GitHub Actions Bot
de6a4f48e2 Ship tag 5.17.1 2023-06-22 17:04:59 +00:00
GitHub Actions Bot
3d57adbb91 Mark non-release version 2023-06-22 16:45:50 +00:00
GitHub Actions Bot
d796773949 Ship tag 5.17.0 2023-06-22 16:45:42 +00:00
Sören Weber
9d72658a43
highlight: make copy to clipboard only appear on hover #574 2023-06-22 18:42:43 +02:00
Sören Weber
625f56b887
theme: compat for Hugo 0.114.0 #573 2023-06-22 17:51:18 +02:00
Sören Weber
7e073f9681
highlight: handle string options in funnel file #169
as it may happen to be called with string options in case of documented `partial (compat)` mode
2023-06-22 17:34:04 +02:00
Sören Weber
83e403ea2e
highlight: add option for wrapping vs. scrolling #169 2023-06-22 01:22:08 +02:00
Sören Weber
e80f89b2b6
taxonomy: fix number tags #570 2023-06-18 11:13:33 +02:00
Sören Weber
c3015432e5
syntaxhighlight: improve if using highlight shortcode #569 2023-06-15 19:35:35 +02:00
GitHub Actions Bot
8210020994 Mark non-release version 2023-06-10 12:23:45 +00:00
GitHub Actions Bot
46511aecea Ship tag 5.16.2 2023-06-10 12:23:35 +00:00
GitHub Actions Bot
e6f94019cd Mark non-release version 2023-06-09 21:56:59 +00:00
GitHub Actions Bot
d5bef098df Ship tag 5.16.1 2023-06-09 21:56:49 +00:00
Sören Weber
4026fba240
theme: add deprecation warnings #565 2023-06-09 23:42:03 +02:00
GitHub Actions Bot
e3ac6efd7c Mark non-release version 2023-06-08 16:04:10 +00:00
GitHub Actions Bot
e216d4614c Ship tag 5.16.0 2023-06-08 16:04:01 +00:00
Sören Weber
310df3425f
icon: remove whitespace on start #560 2023-06-08 13:36:12 +02:00
Sören Weber
f52639c9df
tab: format correctly when called as partial #550 2023-06-07 21:04:47 +02:00
Sören Weber
a79f81322a
tabs: add title and icon option #552 2023-06-06 19:54:12 +02:00
Sören Weber
f50c362c8e
tabs: adjust tab handle styling #550 2023-06-06 18:15:08 +02:00
Sören Weber
67fe76a99c
shortcodes: add style option to mimic code box color scheme #551 2023-06-06 17:44:06 +02:00
Sören Weber
d39c0fb402
favicon: add light & dark option for OS's prefered color scheme #549 2023-06-06 01:36:37 +02:00
Sören Weber
cba1d38595
favicon: indention #549 2023-06-06 00:48:55 +02:00
Troy Lindsay
b705e0bde4 Loop through favicon types for selection
* https://github.com/McShelby/hugo-theme-relearn/pull/553#discussion_r1213705852
2023-06-06 00:37:57 +02:00
Troy Lindsay
ad0378ae8f Add light & dark theme SVG favicon option
* #549
2023-06-06 00:37:57 +02:00
Sören Weber
d68a80d1d4
tabs: support color options #550 2023-06-05 23:18:12 +02:00
Sören Weber
aea9a54a08
tabs: colors for each tab in a set #550 2023-06-05 18:31:55 +02:00
Sören Weber
911ec6fa86
tabs: revamp for color options support #550 2023-06-05 00:27:51 +02:00
Sören Weber
5ca1c4c5f0
shortcodes: avoid superflous margin at start and end of content #558 2023-06-05 00:24:14 +02:00
Sören Weber
0d8e0e3209
button: revert to old syntax for most shortcodes #547 #555 2023-06-03 23:43:30 +02:00
Sören Weber
a51cd5fe61
footnotes: revert to old syntax for most shortcodes #547 #555
complete
2023-06-03 23:10:32 +02:00
Sören Weber
61f05936b1
shortcodes: replace markdownify by .RenderString #555 2023-06-03 13:14:15 +02:00
Sören Weber
7552bcc936
expand: fix html encoding of finishing content tag #557 2023-06-03 11:11:41 +02:00
Sören Weber
61a3995389
footnotes: render at end of page for all shortcodes #547 2023-05-31 23:44:27 +02:00
GitHub Actions Bot
8914477334 Mark non-release version 2023-05-29 11:49:20 +00:00
GitHub Actions Bot
f25e96dc6f Ship tag 5.15.2 2023-05-29 11:49:09 +00:00
Sören Weber
119ff2e41c
attachments: work for Hugo < 0.112 #546 2023-05-29 12:46:48 +02:00
Sören Weber
c25bc2a27a
taxonomy: add support for category default taxonomy #541 2023-05-26 08:38:21 +02:00
Sören Weber
9222821974
theme: improve initial page
which hopefully no one ever sees
2023-05-25 22:15:11 +02:00
GitHub Actions Bot
08f84a1baf Mark non-release version 2023-05-25 13:52:43 +00:00
GitHub Actions Bot
55a27e88ad Ship tag 5.15.1 2023-05-25 13:52:34 +00:00
GitHub Actions Bot
f0434c3379 Mark non-release version 2023-05-25 11:53:17 +00:00
GitHub Actions Bot
436ffe076c Ship tag 5.15.0 2023-05-25 11:53:06 +00:00
Sören Weber
2b789843bb
tags: allow markdown in tab name #538 2023-05-25 13:17:16 +02:00
Sören Weber
7daec21538
attachments: fix build error since Hugo 0.112 #540 2023-05-25 12:40:48 +02:00
Sören Weber
7e92610184
tab: new shortcode to display single tab #538 2023-05-23 23:57:48 +02:00
Sören Weber
79711983fe
tabs: treat groupid as unique if not set #537 2023-05-23 23:53:52 +02:00
GitHub Actions Bot
109ace05dc Mark non-release version 2023-05-20 11:08:12 +00:00
GitHub Actions Bot
5d197c95d0 Ship tag 5.14.3 2023-05-20 11:08:04 +00:00
Sören Weber
57e9789dfe
Merge remote-tracking branch 'origin/main' 2023-05-20 13:06:05 +02:00
Sören Weber
6bca95ae28
tags: show taxonomy toc for standard installation #533 2023-05-20 13:05:41 +02:00
GitHub Actions Bot
70ecd0ed58 Mark non-release version 2023-05-20 10:27:33 +00:00
GitHub Actions Bot
37abce718c Ship tag 5.14.2 2023-05-20 10:27:26 +00:00
Sören Weber
a2dd392585
Merge remote-tracking branch 'origin/main' 2023-05-20 12:25:22 +02:00
GitHub Actions Bot
b1e63e6738 Mark non-release version 2023-05-20 10:23:00 +00:00
GitHub Actions Bot
bc37c81134 Ship tag 5.14.1 2023-05-20 10:22:50 +00:00
Sören Weber
25cef423b7
tags: translate breadcrumb and title for taxonomy #532 2023-05-20 12:20:58 +02:00
GitHub Actions Bot
446482a381 Mark non-release version 2023-05-19 22:09:09 +00:00
GitHub Actions Bot
8f520e7bd8 Ship tag 5.14.0 2023-05-19 22:08:55 +00:00
Sören Weber
da634d62c8
theme: allow to display tags below article #513 2023-05-19 20:44:19 +02:00
Sören Weber
b2243438e3
tags: consistent style for terms #530 #531
consistent in title and tag name plates by not modifing their name
2023-05-19 18:46:00 +02:00
Sören Weber
922922cf94
tags: split taxonomy and terms templates #530 2023-05-19 09:04:44 +02:00
Sören Weber
02b1ed997d
i18n: add translation for default taxonomies #528 2023-05-19 00:14:08 +02:00
Sören Weber
5936477bbd
nav: make breadcrumb separator configurable #529 2023-05-18 16:20:27 +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
77f41e9607
shortcode: make .context always a page #527 2023-05-18 14:01:50 +02:00
GitHub Actions Bot
dc695da6a1 Mark non-release version 2023-05-17 22:32:14 +00:00
GitHub Actions Bot
4a6db4021b Ship tag 5.13.2 2023-05-17 22:32:05 +00:00
Sören Weber
f38878f664
print: enable print for pages with _build options #522 2023-05-18 00:12:47 +02:00
Sören Weber
754b5c85ab
openapi: disable assets busting correctly 2023-05-18 00:11:23 +02:00
Sören Weber
899cab1cf6
theme: make IDs stable for testing 2023-05-17 22:55:34 +02:00
GitHub Actions Bot
fbc32b19e7 Mark non-release version 2023-05-16 02:05:58 +00:00
GitHub Actions Bot
152a534eb0 Ship tag 5.13.1 2023-05-16 02:05:51 +00:00
Sören Weber
538685a4f7
openapi: remove vertical offset #526 2023-05-16 04:03:36 +02:00
Sören Weber
695052b8bc
openapi: allow toc to scroll page #526 2023-05-16 04:02:47 +02:00
GitHub Actions Bot
571bfa89a5 Mark non-release version 2023-05-14 21:38:03 +00:00
GitHub Actions Bot
8ea7b8cc55 Ship tag 5.13.0 2023-05-14 21:37:53 +00:00
Sören Weber
06d35bbbdb
openapi: replace implementation with swagger-ui #523 2023-05-14 23:05:07 +02:00
GitHub Actions Bot
aca602724d Mark non-release version 2023-05-04 20:34:47 +00:00
GitHub Actions Bot
7916aec686 Ship tag 5.12.6 2023-05-04 20:34:36 +00:00
Sören Weber
98c88d8e2e
theme: better HTML titles and breadcrumbs for search and tag pages #521 2023-05-04 22:07:59 +02:00
GitHub Actions Bot
8d474ed3b1 Mark non-release version 2023-03-28 17:55:28 +00:00
GitHub Actions Bot
a3ea10c374 Ship tag 5.12.5 2023-03-28 17:55:20 +00:00
GitHub Actions Bot
689abf0706 Mark non-release version 2023-03-24 17:49:52 +00:00
GitHub Actions Bot
22fefa68ea Ship tag 5.12.4 2023-03-24 17:49:43 +00:00
Sören Weber
df5d6f3e80
theme: disableExplicitIndexURLs param is not working as expected #505 2023-03-24 18:47:52 +01:00
GitHub Actions Bot
1ecc9ea900 Mark non-release version 2023-03-14 22:04:45 +00:00
GitHub Actions Bot
f439bb3113 Ship tag 5.12.3 2023-03-14 22:04:34 +00:00
Sören Weber
bb895ce61d
shortcodes: allow markdown for title and content #502 2023-03-14 21:48:18 +01:00
Sören Weber
f4d9ce016b
attachments: fix links if only one language is present #503 #501 2023-03-14 21:16:42 +01:00
GitHub Actions Bot
e619dabc51 Mark non-release version 2023-03-03 19:30:05 +00:00
GitHub Actions Bot
faff09b77b Ship tag 5.12.2 2023-03-03 19:29:56 +00:00
GitHub Actions Bot
dea3da777d Mark non-release version 2023-02-26 11:54:58 +00:00
GitHub Actions Bot
f9dfa7dd68 Ship tag 5.12.1 2023-02-26 11:54:51 +00:00
Sören Weber
77e790885b
menu: fix minor padding of select boxes 2023-02-25 18:58:05 +01:00
Sören Weber
43955d0e20
menu: fix minor HTML valdiation error #466 2023-02-25 11:55:35 +01:00
GitHub Actions Bot
1ff128e080 Mark non-release version 2023-02-24 23:35:43 +00:00
GitHub Actions Bot
9156ef76aa Ship tag 5.12.0 2023-02-24 23:35:35 +00:00
Sören Weber
c0a1c9cbcb
menu: rebuild collapsible expander #466
because sizing and positioning was a mess;
the follwing things are fixed with this:
- resizes and positions correctly according to html elements font-size
- IE11 compatiblity is now given
- a11y: expander is now correctly given a focus outline
- chevron is now coded into html instead of a css content value, which makes it easier to change (was an issue in the past)
- the visited checkmark now breaks correctly on long lines and hides behind the text if necessary
- some more css classes were introduced to make further extensions (eg. nested shortcut links) easier
2023-02-24 23:29:33 +01:00
Sören Weber
0e0b3bb2fb
shortcodes: don't break build and render for invalid parameters #480 2023-02-19 23:09:51 +01:00
Sören Weber
472176a88c
attachments: don't break build if directory wasn't found #480 2023-02-19 22:00:09 +01:00
Sören Weber
4b7409f31c
theme: switch layout and menu to rem units #466 2023-02-14 20:28:11 +01:00
Sören Weber
e7a0ef9d9e
theme: make expand and image ids stable #477 2023-02-13 23:21:23 +01:00
Sören Weber
7252f82bb6
toc: fix display when empty #469 2023-02-10 17:15:48 +01:00
Sören Weber
d62e2f7e0e
i18n: full support for RTL #470 2023-02-10 00:34:47 +01:00
Sören Weber
09ea211204
expand: simplify RTL support 2023-02-09 01:02:06 +01:00
Sören Weber
381b74f837
i18n: add RTL support for nav bar and child items #470 2023-02-09 00:53:11 +01:00
Sören Weber
ba09924026
Merge remote-tracking branch 'origin/main' 2023-02-08 22:19:05 +01:00
Sören Weber
e92362675f
piratify: use some magic to generate Pirates TOC #469 2023-02-08 22:17:27 +01:00
Sören Weber
5d9e1b6d47
piratify: fix expand and tabs for Pirates RTL #469 2023-02-08 21:59:28 +01:00
GitHub Actions Bot
b40a766395 Mark non-release version 2023-02-07 17:09:35 +00:00
GitHub Actions Bot
036bb0ef5b Ship tag 5.11.2 2023-02-07 17:09:25 +00:00
Sören Weber
56bc99b79a
tabs: nested tabs content is not displayed #468 2023-02-07 18:06:34 +01:00
GitHub Actions Bot
86bc997085 Mark non-release version 2023-02-06 05:42:42 +00:00
GitHub Actions Bot
03978d4fd0 Ship tag 5.11.1 2023-02-06 05:42:34 +00:00
GitHub Actions Bot
dc00d78ee3 Mark non-release version 2023-02-05 12:21:01 +00:00
GitHub Actions Bot
cd5b1ff707 Ship tag 5.11.0 2023-02-05 12:20:53 +00:00
Sören Weber
a046b9300f
mermaid: make zoom configurable #144 2023-02-05 11:13:03 +01:00
Sören Weber
1ddd768bde
browser: unify mark behavior after IE11 fixes #452 2023-02-05 00:20:56 +01:00
Sören Weber
6b96c2d662
variant: add support for prefers-color-scheme #445 2023-02-04 22:33:27 +01:00
Sören Weber
4a1adeb79b
browser: further IE11 fixes #452 2023-02-04 16:17:19 +01:00
Sören Weber
5b9389fde2
browser: remove IE11 errors #452 2023-02-04 16:01:42 +01:00
Sören Weber
fd1c03b82f
edit: remove double slash on root page link #450 2023-02-04 02:05:48 +01:00
Sören Weber
5f7df12b88
mermaid: remove jQuery #452 2023-02-04 01:54:13 +01:00
Sören Weber
00faf15af5
expand: a11y and remove jQuery #339 #452 2023-02-03 08:57:55 +01:00
Sören Weber
eee19034b8
lightbox: advise to don't link to random image ids #451 2023-02-02 23:45:31 +01:00