Commit graph

980 commits

Author SHA1 Message Date
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
660fd1c8d4
menu: remove disabled sections from search index #642 2023-09-21 17:31:39 +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
72f08f142b
shortcodes: add more deprecation warnings #598 2023-07-27 16:54:06 +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
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
fabcf681e9
tabs: fix tab selection by groupid #582 2023-06-29 12:15:16 +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
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
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
Sören Weber
35a4fd83ef
alias: fix redirect URLs in case of empty BaseURL #562 2023-06-09 11:11:18 +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
30b23b9213
tab: make new shortcode work with goldmark unsafe=true 2023-06-04 00:19:50 +02:00
Sören Weber
2b516acac2
shortcodes: revert to old syntax for most shortcodes #547 #555 2023-06-04 00:18:16 +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
ea59244858
footnotes: revert to old syntax for most shortcodes #547 #555
only keep new syntax for shortcodes in case its content may contain footnotes,
meaning block level Markdown
2023-06-03 22:58:23 +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
Sören Weber
bbdaafd0d7
footnotes: render at end of page #547 2023-05-30 18:01:24 +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
Sören Weber
47f85b4eb1
shortcodes: intermediately use random ids instead of .Ordinal #543 2023-05-25 15:45:57 +02: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
5fd3fdbd75
shortcodes: fix Hugo version check 2023-05-25 12:43:10 +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
5099b5b73c
tags: taxonomy layout with headings all on the left #530
and columned lists like in the terms page for a more concicse look
2023-05-19 12:59:06 +02:00
Sören Weber
98cc7904ab
tags: improve search index for tags #531 2023-05-19 11:09:05 +02:00
Sören Weber
53093085bd
tags: leverage space in terms layout #530 2023-05-19 10:15:20 +02:00
Sören Weber
55549897c5
tags: leverage space in taxonomy layout #530 2023-05-19 09:54:14 +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
d3762944b5
theme: fix resource URLs for 404 page on subdirectories #515 2023-05-04 22:27:12 +02: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
c995d6a692
404: margin of 0 is unitless #466 2023-02-17 15:08:43 +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
Sören Weber
1383b7e6af
lightbox: generate unique lightbox ids #451 2023-02-01 23:16:42 +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
85f2e1344e
tags: show tag on pages when tag has space #459 2023-02-01 08:16:16 +01:00
Sören Weber
302ea923ed
tabs: remove jQuery #452 2023-01-29 16:45:42 +01:00
Sören Weber
f2bfdce1d9
lightbox: switch to CSS-only solution #451 2023-01-29 11:21:52 +01:00
GitHub Actions Bot
ce2485b127 Mark non-release version 2023-01-25 23:10:38 +00:00
GitHub Actions Bot
9c05728041 Ship tag 5.10.2 2023-01-25 23:10:31 +00:00
Sören Weber
5ed690f68b
nav: fix breadcrumb for huge installations #446 2023-01-26 00:08:25 +01:00
GitHub Actions Bot
26988d262b Mark non-release version 2023-01-25 20:37:55 +00:00