GitHub Actions Bot
4717addf07
Mark non-release version
2022-07-07 22:18:20 +00:00
GitHub Actions Bot
21e54995af
Ship tag 5.0.1
2022-07-07 22:18:16 +00:00
Sören Weber
34f316d59e
theme: optimize loading of js and css #303
2022-07-08 00:10:17 +02:00
Sören Weber
a74ec4d6f8
theme: nicer escaping in <head>
2022-07-07 21:42:45 +02:00
GitHub Actions Bot
ab5e73a97e
Mark non-release version
2022-07-05 22:37:54 +00:00
GitHub Actions Bot
22aafe481e
Ship tag 5.0.0
2022-07-05 22:37:50 +00: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
691279743c
favicon: fix URL if site resides in subfolder #302
2022-07-06 00:26:05 +02:00
Sören Weber
d1550bdddb
archetypes: introducing hooks #300
2022-07-06 00:15:33 +02:00
Sören Weber
bba22b8f85
archetypes: modularize initially empty home page default #300
2022-07-05 00:20:46 +02:00
Sören Weber
897e004e1a
archetypes: rethink rendering #300
2022-07-05 00:19:27 +02:00
Sören Weber
d071d2d2a3
theme: fix line break causing Hugo to hick up #139
2022-07-03 17:22:14 +02:00
Sören Weber
59e2f19169
theme: allow for page heading modification #139
2022-07-03 17:12:44 +02:00
Sören Weber
96aa7af4fb
history: don't reload page when history gets cleared #299
2022-07-03 15:40:32 +02:00
Sören Weber
5e0771f2c4
button: allow for empty href #288
2022-07-02 14:13:13 +02:00
Sören Weber
341bad1610
mermaid: use partial for codefence formatting
2022-07-02 14:00:51 +02:00
Sören Weber
01e14664ce
math: add mathjax rendering #235
2022-07-02 14:00:23 +02:00
Sören Weber
3b97db45e1
clipboard: move head styles to stylesheet #286
...
to keep it all in place and maybe later use caching for partials
2022-06-23 21:39:47 +02:00
GitHub Actions Bot
8ff2bbe9eb
Mark non-release version
2022-06-23 18:07:12 +00:00
GitHub Actions Bot
be030d4eab
Ship tag 4.2.5
2022-06-23 18:07:07 +00:00
Sören Weber
dc4b196817
children: descriptions not working #284
2022-06-23 20:04:04 +02:00
Sören Weber
88a769f2aa
swagger: javascript code does not load in documentation #285
2022-06-23 20:01:43 +02:00
Sören Weber
3e489145e7
print: don't print rest of site for shortcut links #283
2022-06-23 19:45:52 +02:00
Sören Weber
5ff086306a
print: fix empty page for shortcut links #283
2022-06-23 15:32:01 +02:00
GitHub Actions Bot
de062f2f48
Mark non-release version
2022-06-23 12:13:29 +00:00
GitHub Actions Bot
8155b243c4
Ship tag 4.2.4
2022-06-23 12:13:22 +00:00
Sören Weber
fa6105d18f
theme: fix url for logo and home button #282
2022-06-23 14:10:16 +02:00
GitHub Actions Bot
8dc553afbc
Mark non-release version
2022-06-23 11:36:29 +00:00
GitHub Actions Bot
e00054df45
Ship tag 4.2.3
2022-06-23 11:36:25 +00:00
GitHub Actions Bot
cfc02dd167
Mark non-release version
2022-06-23 11:30:10 +00:00
GitHub Actions Bot
7c004d4d3c
Ship tag 2.4.2
2022-06-23 11:30:06 +00:00
Sören Weber
3f5e68c030
include: remove debug stuff #281
2022-06-23 13:27:41 +02:00
GitHub Actions Bot
59ee95d2fc
Mark non-release version
2022-06-23 11:26:22 +00:00
GitHub Actions Bot
4ac2e2533d
Ship tag 4.2.1
2022-06-23 11:26:16 +00:00
Sören Weber
ae666b2b77
tabs: unify parameter names #277
2022-06-23 13:24:54 +02:00
Sören Weber
66d32c48b0
button: fix typo in parameter name #277
2022-06-23 13:24:36 +02:00
Sören Weber
7570a7c28c
include: second parameter is ignored #281
2022-06-23 13:22:04 +02:00
GitHub Actions Bot
72770144c4
Mark non-release version
2022-06-23 10:37:54 +00:00
GitHub Actions Bot
9fce999fb5
Ship tag 4.2.0
2022-06-23 10:37:50 +00:00
Sören Weber
47e9eb8ced
search: fix console message for missing lunr translations #278
2022-06-22 21:41:25 +02:00
Sören Weber
fa8486fc4d
shortcode: unify #277
2022-06-22 21:41:24 +02:00
Sören Weber
e62381572a
shortcodes: convert to partials feature #277
2022-06-22 21:41:23 +02:00
GitHub Actions Bot
46d2e17ec0
Mark non-release version
2022-06-18 16:51:34 +00:00
GitHub Actions Bot
9894e3776d
Ship tag 4.1.1
2022-06-18 16:51:27 +00:00
GitHub Actions Bot
5991d32a02
Mark non-release version
2022-06-12 17:27:41 +00:00
GitHub Actions Bot
d51361a7de
Ship tag 4.1.0
2022-06-12 17:27:38 +00:00
Sören Weber
666d4d3251
i18n: support multilang content #271
2022-06-12 19:24:27 +02:00
GitHub Actions Bot
b154db1f9e
Mark non-release version
2022-06-12 13:27:54 +00:00
GitHub Actions Bot
5a482d99a1
Ship tag 4.0.5
2022-06-12 13:27:50 +00:00
Sören Weber
c7b2eee5a6
i18n: fix search for cyrillic #269
2022-06-12 14:05:01 +02:00
GitHub Actions Bot
aba7cb84a9
Mark non-release version
2022-06-07 18:38:41 +00:00
GitHub Actions Bot
2e30ef1e53
Ship tag 4.0.4
2022-06-07 18:38:37 +00:00
Sören Weber
b0812bb28e
nav: add keyboard shortcut hints #268
2022-06-07 20:23:55 +02:00
Sören Weber
b5c98871cb
theme: typo in print shortcut #268
2022-06-07 01:46:39 +02:00
Sören Weber
0b5e21f488
theme: add keyboard shortcut hints #268
2022-06-07 01:45:08 +02:00
Sören Weber
ae3ad846cc
theme: improve keyboard navigation for scrolling #268
2022-06-06 23:58:00 +02:00
Sören Weber
ccce323f76
swagger: adjust font-size for method buttons #267
2022-06-06 22:20:53 +02:00
Sören Weber
f65a4b819e
menu: hide expander when only hidden subpages #264
2022-06-06 21:37:14 +02:00
Sören Weber
e88b9ecebb
theme: make compatible with Hugo 0.100.0 #263
2022-06-06 21:11:44 +02:00
GitHub Actions Bot
1189587920
Mark non-release version
2022-06-05 22:51:37 +00:00
GitHub Actions Bot
e9938d80ae
Ship tag 4.0.3
2022-06-05 22:51:33 +00:00
GitHub Actions Bot
63a4297da9
Mark non-release version
2022-06-05 22:03:57 +00:00
GitHub Actions Bot
7c40593edf
Ship tag 4.0.2
2022-06-05 22:03:52 +00:00
GitHub Actions Bot
f9f317688d
Mark non-release version
2022-06-05 21:59:46 +00:00
GitHub Actions Bot
dd4e74e468
Ship tag 4.0.1
2022-06-05 21:59:41 +00:00
GitHub Actions Bot
8e2d522fdb
Mark non-release version
2022-06-05 17:35:38 +00:00
GitHub Actions Bot
f3a56c8a63
Ship tag 4.0.0
2022-06-05 17:35:33 +00:00
Sören Weber
8551ee2738
shortcodes: revamp shortcodes #260 #261
...
- supply named parameter if missing #260
- fix boolean parameter if given as string #261
- revise documentation
2022-06-05 19:31:59 +02:00
Sören Weber
e3b5dfd0c0
tabs: remove side effects caused by button style #240
2022-05-29 23:22:15 +02:00
Sören Weber
b55d2f9c3c
button: add color option #240
2022-05-29 21:35:12 +02:00
Sören Weber
5d2403a067
notice: streamline icon parameter with button shortcode #240
2022-05-29 21:35:12 +02:00
Sören Weber
4b79d36155
attachments: streamline icon parameter with button shortcode #240
2022-05-29 21:35:11 +02:00
Sören Weber
d3fd28a609
print: show Mermaid if requested in frontmatter #255
2022-05-28 23:49:10 +02:00
Sören Weber
af3bd11bcd
theme: move default colors to own stylesheet
...
and only apply it to IE
This will help to simplify further develpment by relying only to variant.css for evergreen browsers
2022-05-28 22:58:55 +02:00
Sören Weber
f595aaa287
attachments: adjust implementation to doc #252
2022-05-25 23:37:44 +02:00
Sören Weber
2271ff4611
attachments: support for brand colors #252
2022-05-25 23:30:30 +02:00
Sören Weber
d7bc40253e
notice: support for brand colors #251
2022-05-24 00:37:03 +02:00
Sören Weber
d64429377f
theme: use proper file extension for page-meta.go #246
2022-05-23 14:35:25 +02:00
Sören Weber
1599f8b09a
config: remove custom_css #248
2022-05-23 07:43:29 +02:00
Sören Weber
31c9c77c5e
print: DRY partials #230
2022-04-11 23:04:49 +02:00
GitHub Actions Bot
26ab080d81
Mark non-release version
2022-04-03 19:40:15 +00:00
GitHub Actions Bot
64911282a4
Ship tag 3.4.1
2022-04-03 19:40:11 +00:00
Sören Weber
459c07da6f
theme: remove unused style classes
2022-04-03 18:33:50 +02:00
GitHub Actions Bot
5365591554
Mark non-release version
2022-04-03 11:05:34 +00:00
GitHub Actions Bot
2b0378ebd6
Ship tag 3.4.0
2022-04-03 11:05:30 +00:00
Sören Weber
48c7d6bc73
menu : expand/collapse menu items without navigation #231
2022-04-03 12:12:12 +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
70b4143327
theme: apply user supplied content footer below content #229
2022-03-30 20:27:04 +02:00
GitHub Actions Bot
3ff7c8092a
Mark non-release version
2022-03-28 09:58:57 +00:00
GitHub Actions Bot
ea91d312c4
Ship tag 3.3.0
2022-03-28 09:58:52 +00:00
Sören Weber
1b1d036534
variant: make variant switch work on slow networks #228
2022-03-28 11:56:51 +02:00
Sören Weber
c673a65c62
swagger: fix relative URLs for subfolder #226
2022-03-27 23:13:28 +02:00
Sören Weber
dd2233d93b
swagger: support leaf and page bundles #226
2022-03-27 23:08:29 +02:00
Sören Weber
b3461b6ac7
Merge remote-tracking branch 'origin/main'
2022-03-27 22:24:47 +02:00
Sören Weber
ff8f9582a0
swagger: polishing #226
...
- print support
- use thems styles for swagger
- docs
2022-03-27 22:24:06 +02:00
Sören Weber
f910477160
swagger: add support for oas/swagger documentation #226
...
basic swagger integration
2022-03-27 18:42:11 +02:00
GitHub Actions Bot
060070d786
Mark non-release version
2022-03-25 15:46:51 +00:00
GitHub Actions Bot
b427b9a383
Ship tag 3.2.1
2022-03-25 15:46:46 +00:00
GitHub Actions Bot
c9652602f0
Mark non-release version
2022-03-19 19:23:32 +00:00
GitHub Actions Bot
d5ae0ccd68
Ship tag 3.2.0
2022-03-19 19:23:28 +00:00
Sören Weber
938debb1d9
mermaid: support differing themes for color variant switch #219
2022-03-19 20:18:21 +01:00
Sören Weber
e92bf08ebf
Merge remote-tracking branch 'origin/main'
2022-03-16 22:44:45 +01:00
Sören Weber
dde1fe5241
mermaid: load javascript on demand #218
2022-03-16 22:40:38 +01:00
GitHub Actions Bot
6aed264015
Mark non-release version
2022-03-16 07:02:42 +00:00
GitHub Actions Bot
bd18cb5c3b
Ship tag 3.1.1
2022-03-16 07:02:37 +00:00
GitHub Actions Bot
fb899c1a42
Mark non-release version
2022-03-15 20:01:34 +00:00
GitHub Actions Bot
90a8f8878d
Ship tag 3.1.0
2022-03-15 20:01:29 +00: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
73dde63ccd
theme: further JS adjustments
2022-03-07 18:25:33 +01:00
Sören Weber
985eacea7e
theme: some restructuring
2022-03-07 17:24:23 +01:00
Sören Weber
05fa313e59
notice: allow for optional icon setting #212
2022-03-07 17:24:22 +01:00
Sören Weber
44d56fa7ff
theme: remove Modernizr
2022-03-06 19:09:12 +01:00
Sören Weber
ea8b527f25
mobile: fix navigation UX #209 #210
2022-02-28 01:19:32 +01:00
Sören Weber
9bc7fe86c2
theme: rename topbar div for consistency #210
2022-02-27 10:31:11 +01:00
Sören Weber
bf44b52dd1
theme: simplify DOM to introduce flex later #210
2022-02-27 10:27:12 +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
Sören Weber
7eee4a86d8
theme: make chapter a marker instead of a nested div #210
...
this makes styling easier as document has the same DOM for chapter and default
2022-02-27 09:53:33 +01:00
Sören Weber
cc64579117
chore: upgrade perfect-scrollbar #210
2022-02-25 21:41:50 +01:00
GitHub Actions Bot
735dd21c52
Mark non-release version
2022-02-24 23:21:02 +00:00
GitHub Actions Bot
5571cdd0c5
Ship tag 3.0.4
2022-02-24 23:20:57 +00:00
Sören Weber
12df32764f
theme: adjust breadcrumb and title for empty home page titles #202
2022-02-24 23:09:49 +01:00
Sören Weber
b4851c0853
docs: don't move header on logo hover in IE11 #207
2022-02-24 21:08:52 +01:00
Sören Weber
c6f2572a1c
variant: avoid flash of menu header when non default variant is active #206
2022-02-24 19:38:49 +01:00
Sören Weber
2bf5602bb7
Merge pull request #204 from hkpug/bug-footer-closing-tags
...
Fix HTML closing tags in footer.html
2022-02-24 11:54:02 +01:00
Sören Weber
287e4f53b0
theme: fix HTML indention #205
2022-02-24 11:53:27 +01:00
hkpug
14eda889c2
fix HTML closing tags in footer.html
2022-02-24 18:11:06 +08:00
GitHub Actions Bot
fb340b7748
Mark non-release version
2022-02-23 22:34:40 +00:00
GitHub Actions Bot
d2418199d7
Ship tag 3.0.3
2022-02-23 22:34:35 +00:00
Sören Weber
df232b84fa
theme: remove Hugo build warning if page is not file based
2022-02-23 20:21:48 +01:00
Sören Weber
fee394cd64
tags: adhere to titleSeparator configuration
2022-02-23 16:16:08 +01:00
Sören Weber
fc222c9e64
tags: show tag count in tags list
2022-02-23 16:09:17 +01:00
GitHub Actions Bot
fc8bcbb22e
Mark non-release version
2022-02-23 14:07:16 +00:00
GitHub Actions Bot
50ff97985c
Ship tag 3.0.2
2022-02-23 14:07:11 +00:00
Sören Weber
9b8db59969
tags: sort by name #193
2022-02-23 15:04:33 +01:00
GitHub Actions Bot
543e01cff7
Mark non-release version
2022-02-23 12:07:57 +00:00
GitHub Actions Bot
fc11cd37be
Ship tag 3.0.1
2022-02-23 12:07:51 +00:00
Sören Weber
9793100216
children: set containerstyle automatically according to style #192
2022-02-23 12:59:09 +01:00
Sören Weber
138e88205c
theme: revert fontawsome to version 5 for IE11 compat #191
2022-02-23 12:40:16 +01:00
GitHub Actions Bot
3a474faea1
Mark non-release version
2022-02-22 23:23:28 +00:00
GitHub Actions Bot
5058d5160c
Ship tag 3.0.0
2022-02-22 23:23:23 +00:00
Sören Weber
df45fc6a13
docs: fix logo for IE11
2022-02-23 00:09:46 +01:00
Sören Weber
4e46a809db
docs: don't mess up menu header when resizing
2022-02-22 23:50:22 +01:00
Sören Weber
a845d40071
menu: fix footer in IE11 #177
2022-02-22 10:32:52 +01:00
Sören Weber
78abe914e0
variant: allow page browsing with custom theme #188
2022-02-21 23:11:04 +01:00
Sören Weber
3b0e21949a
variant: show generator even if no themeVariant is configured #188
2022-02-21 00:35:50 +01:00
Sören Weber
269ccf7eea
variant: renamr var #188
2022-02-21 00:01:23 +01:00
Sören Weber
442a4f4832
variant: move scripts to own file #188
2022-02-20 23:58:16 +01:00
Sören Weber
fb2df556bc
variant: fix variant detection for official documentation #188
2022-02-19 17:13:28 +01:00
Sören Weber
83393ef5b8
variant: add download for generator #188
2022-02-19 14:21:16 +01:00
Sören Weber
e9fa08dcf7
variant: build a color variant generator #188
2022-02-19 00:46:34 +01:00
Sören Weber
a856400626
#nav: fix arrow nav for unlisted pages #184 #185
2022-02-18 02:13:35 +01:00
Sören Weber
0363998519
nav: fix chevron color in IE11 #151
2022-02-18 00:59:50 +01:00
Sören Weber
1606a92689
theme: fixing tags for dark mode and revamped header #151 #175
2022-02-18 00:38:32 +01:00
Sören Weber
6f35177349
theme: rework header UX #151
2022-02-18 00:09:06 +01:00
Sören Weber
d1cd818357
clipboard: i18n #186
2022-02-17 20:09:50 +01:00
Sören Weber
9f7308ca4c
clipboard: adjust line-breaking for inline code between code and button #175
2022-02-17 19:21:20 +01:00
Sören Weber
7c1d85558d
breadcrumb: hide unpublished pages #185
2022-02-17 14:19:34 +01:00
Sören Weber
ffa31e5900
print: dark mode support by using relearn-light hack #175
2022-02-17 08:49:17 +01:00
Sören Weber
cbce5ecbba
theme: add neon style #175
...
shameless inspiration of the GoboLinux wiki style
2022-02-17 00:53:31 +01:00
Sören Weber
269fd5ed95
theme: rework color boxes for dark mode #175
2022-02-16 01:38:44 +01:00
Sören Weber
3d6a95434c
nav: only show toc if the page has headings #182
2022-02-15 20:28:29 +01:00
Sören Weber
99a7061a67
theme: IE11 compat for theme switch #178
2022-02-15 01:37:48 +01:00
Sören Weber
949429faab
nav: rework edit button #151
2022-02-15 00:22:34 +01:00
Sören Weber
6f8239ca64
nav: some love for header buttons #151
2022-02-14 23:59:06 +01:00
Sören Weber
8d8f37d139
nav: add additional translations #151
2022-02-14 23:47:47 +01:00
Sören Weber
1d88fd68ec
Merge branch 'main' of git://github.com/hybcloud/hugo-theme-relearn into hybcloud-main
2022-02-14 23:31:06 +01:00
Sören Weber
a48a7f540b
menu: fix scrollbar height #180
2022-02-14 20:34:18 +01:00
Sören Weber
d0d359bc3d
theme: float clearing for select boxes #178
2022-02-14 19:46:10 +01:00
Sören Weber
ff72c495de
theme: remove superflous stuff from stylesheets
2022-02-13 17:01:53 +01:00
Sören Weber
5ff752e441
theme: IE11 compat for theme switch #178
2022-02-13 12:49:45 +01:00
Sören Weber
8385ea78b4
theme: avoid non-styling if user wants to use unsupported theme #178
2022-02-13 12:48:38 +01:00
Sören Weber
0c261fb314
theme: fix alignment of menu select boxes #178
2022-02-13 10:58:00 +01:00
Sören Weber
b1bb8e2290
theme: capitalize theme name in option for FF #178
2022-02-13 10:06:16 +01:00
Sören Weber
f5455500fa
theme: animate large areas on theme switch #178
2022-02-13 09:45:11 +01:00
Sören Weber
44b138a6b7
theme: remove JS errors if no variant is defined #158
2022-02-13 09:32:52 +01:00
Sören Weber
dc44692942
theme: avoid script error in 404 template #178
2022-02-13 02:32:52 +01:00
Sören Weber
ec053c7c5e
theme: set theme selector correctly on load #178
2022-02-13 02:30:05 +01:00
Sören Weber
874e542222
theme: avoid flickering on page load #178
2022-02-13 02:11:27 +01:00
Sören Weber
8c1a7304f9
theme: add a theme selector #178
2022-02-13 01:53:23 +01:00
Sören Weber
a32646b5cb
menu: rework select box UX #177
2022-02-12 23:49:33 +01:00
Sören Weber
4fda7916ff
menu: set footer position at bottom of screen #177
2022-02-12 23:14:33 +01:00
Sören Weber
9ea06563be
theme: support for dark mode #175
2022-02-11 00:59:40 +01:00
hybcloud
25da98447b
add i18n support for navigation toggle
...
Although the toggle only appears when the page is too thin to show both navigation and content, adding i18n support do no harm.
2022-02-08 09:45:21 +08:00
GitHub Actions Bot
29c2b29f6c
Ship tag 2.9.6
2022-02-07 21:59:09 +00:00
Sören Weber
d6bd0dbde9
menu: remove debug output #171
2022-02-07 22:56:39 +01:00
GitHub Actions Bot
0cfab810f1
Ship tag 2.9.5
2022-02-07 21:54:05 +00:00
Sören Weber
6b943aec76
menu: let arrow navigation respect ordersectionsby configuration #170
2022-02-07 22:24:57 +01:00
Sören Weber
017f1004ab
theme: whitespace
2022-02-06 17:10:50 +01:00
Sören Weber
8f2d1d75e2
theme: whitespace
2022-02-06 16:47:00 +01:00
Sören Weber
9c616364a9
theme: realign HTML header and DRY out stylesheet declarations
2022-02-06 13:51:54 +01:00
Sören Weber
e907e9b38f
theme: remove whitespace from version meta
2022-02-06 12:51:24 +01:00
GitHub Actions Bot
f246e3e0bd
Ship tag 2.9.4
2022-02-06 01:17:02 +00:00
GitHub Actions Bot
fe2504636e
Ship tag 2.9.3
2022-02-06 01:10:57 +00:00
GitHub Actions Bot
3fbf06aabd
Ship tag 2.9.2
2021-11-26 09:57:28 +00:00
Justin Lin
fcb27db2c5
Fix icon filename extension
...
If `favicon.ico` or `logo.ico` exists, `/images/favicon.icon` or `/images/logo.icon` should be `/images/favicon.ico` or `/images/logo.ico`.
2021-11-26 08:21:24 +08:00
Sören Weber
4053dc8565
theme: add theme version info to head #158
2021-11-24 12:04:40 +01:00
Sören Weber
be221f2f5b
theme: wildspace
2021-11-24 12:03:11 +01:00
Sören Weber
9a12a1c961
menu: fix significantly low performance for collecting of meta info #157
...
introduced in #152
2021-11-22 12:10:35 +01:00
Sören Weber
b91b555aa0
relref: fix inconsistent behaviour #156
...
by removing our own implementation fo ref/relref
2021-11-19 23:37:19 +01:00
Sören Weber
092046ae52
copyToClipBoard: add missing right border for inline code #153
...
if disableInlineCopyToClipBoard=true
2021-11-16 00:16:31 +01:00
Sören Weber
dd7e308a4d
menu - hidden sibling pages are sometimes not visible #152
...
put every meta data of a page into the its corresponding scratch
2021-11-15 23:41:51 +01:00
Sören Weber
ede20225b4
mermaid: always load javascript to avoid break if code fences are used #142
2021-11-08 16:53:08 +01:00
Sören Weber
48b0a66d40
search: don't break JS in multilang setup if search is disabled #140
2021-11-04 19:26:30 +01:00
Sören Weber
f3c067bf9b
mermaid: assert that window.mermaid is actually mermaid #136
2021-11-03 21:42:38 +01:00
Sören Weber
139c587757
mermaid: revert destroyed HTML structure #95
2021-11-03 20:50:35 +01:00
Sören Weber
63dccef035
toc: make omitting disableToc behave as the former default #133
2021-11-03 20:44:23 +01:00
Sören Weber
057bb2a52b
Merge branch 'global-disableTOC' of git://github.com/BITS-Training/hugo-theme-relearn into BITS-Training-global-disableTOC
2021-11-03 20:03:55 +01:00
Sören Weber
870d59a700
theme: remove font Novacento #83
...
as it wasn't fully latin compatible
2021-11-03 19:52:55 +01:00
Andreas H
c29b62f3a9
make disableTOC globally available via Site-Params in config.toml
2021-11-03 10:39:48 +01:00
Sören Weber
a25243d7e7
menu: remove usage of Hugos UniqueID #131
2021-10-31 11:16:55 +01:00
Sören Weber
70e7e603f8
theme: make favicon configurable #2
2021-10-30 22:00:46 +02:00
Sören Weber
3446aa4230
mermaid: only load javascript if necessary #95
2021-10-30 20:31:52 +02:00
David Lawrence
c239e76501
add support for optional parameter to use as title for notices
2021-10-21 19:20:30 -07:00
Sören Weber
d673b2c240
theme: generate correct links if theme served from subdirectory #120
2021-10-17 23:03:41 +02:00
Sören Weber
293c2eab8e
menu: write correct local shortcut links #112
2021-10-08 18:14:10 +02:00
Sören Weber
fc7845df7d
include: amend #110
2021-10-07 21:19:07 +02:00
Sören Weber
2f80ccf115
include: add proper spacing around content to assert markdown will be processed #110
2021-10-07 21:17:17 +02:00
Sören Weber
0058c51b32
include: don't generate additional HTML if file should be displayed without parameter #110
2021-10-06 19:51:34 +02:00
Sören Weber
dffc0cb230
theme: simplify stylesheet for color variants #107
2021-09-30 00:17:16 +02:00
Sören Weber
cbc75a99fa
theme: reorganize stylesheets #93
...
move print styles in own stylesheet to make it testable
remove hugo-themes.css and put it into theme.css to avoid confusion
2021-09-29 21:34:42 +02:00
Sören Weber
a0e5194c00
attachments: fix search dir and link if contentDir in multilang config is used #105
2021-09-28 21:24:30 +02:00
Sören Weber
16b346c646
menu: frontmatter option to change sort predicate #98
2021-09-27 22:03:10 +02:00
Sören Weber
f35e2336aa
hidden pages: streamlined pages collection #102
2021-09-27 21:06:00 +02:00
Sören Weber
7f0057bcd9
hidden pages: hide search index #102
...
if user disabled SEO or search
2021-09-27 20:06:39 +02:00
Sören Weber
5d98f7d31f
hidden pages: remove from taxonomy #102
2021-09-24 06:59:28 +02:00
Sören Weber
ddf9bc6626
hidden pages: remove from RSS feed #102
2021-09-23 23:27:41 +02:00
Sören Weber
44a03fe5a0
theme: announce alternative content in header #101
2021-09-23 22:38:54 +02:00
Sören Weber
3d0554124a
menu: add default setting for menu expansion #97
2021-09-23 22:27:58 +02:00
Sören Weber
3224bfb1a3
theme: fix sticky header to remove horizontal scrollbar #82
...
HTML5 solution; sorry IE11
2021-09-23 21:25:45 +02:00
Sören Weber
b5e90f03dd
theme: ensure IE11 compatiblity #89
2021-09-13 21:09:44 +02:00
Sören Weber
82b7477c0c
theme: wildspace to death
2021-09-13 19:39:20 +02:00
Sören Weber
94fceae42d
theme: fix usage of <h3> in menu #88
2021-09-13 19:28:17 +02:00
Sören Weber
65cb38aec3
theme: use <main> #88
2021-09-13 19:28:16 +02:00
Sören Weber
2fcaac5d0b
theme: fix usage of <section> #88
2021-09-13 19:28:16 +02:00
Sören Weber
6d96713902
theme: fix usage of <section> in attachments #88
2021-09-13 19:28:15 +02:00
Sören Weber
1ad20bd8b2
theme: further wildspace
...
menu and search
2021-09-13 19:27:40 +02:00
Sören Weber
8ebff4fb0a
theme: change logo color to gray and wildspace
2021-09-12 10:33:45 +02:00
Sören Weber
7fce3b516f
theme: wildspace
2021-09-12 10:33:24 +02:00
Sören Weber
fe7eb1d432
theme: wildspace
...
in shortcodes and shortcode output
2021-09-12 09:44:34 +02:00
Sören Weber
a62c1ee500
theme: remove obvious HTML validator warnings
2021-09-12 01:32:19 +02:00
Sören Weber
aa54732f09
theme: wildspace
...
in partials and generated output
2021-09-12 00:40:03 +02:00
Sören Weber
5574ec073e
docs: showcase multilang feature #87
...
Arrr, Pirrrate trrranslat'n
2021-09-11 15:46:14 +02:00
Sören Weber
87a86876e9
theme: use disabled anchor for last bread crumb #84
...
because otherwise Hugo will not generate a relative URL for the itemprop value
2021-09-10 01:08:39 +02:00
Sören Weber
03db2cc387
theme: correctly define itemprop value #84
2021-09-10 00:32:35 +02:00
Sören Weber
f65bacd4cd
theme: switch from data-vocabulary to schema #84
2021-09-10 00:18:57 +02:00
Sören Weber
fed2e0392c
sitemap: hide hidden pages from sitemap and SEO indexing #85
2021-09-09 22:26:24 +02:00
Sören Weber
c5382e0bcc
theme: fix showVisitedLinks in case Hugo is configured to modify relative URLs #86
2021-09-09 21:03:37 +02:00
Sören Weber
40fec76fae
search: hide non-site content #81
2021-09-04 12:23:55 +02:00
Sören Weber
d53fc18c2b
search: open expand if it contains search term #80
2021-09-04 12:05:15 +02:00
Sören Weber
c969f3b13f
menu: always hide hidden sub pages #77
2021-09-04 00:17:47 +02:00
Sören Weber
06486bdc3c
search: disable search in hidden branches #76
...
1-1-1-1 was previously displayed in the search results
2021-09-03 22:21:22 +02:00
Sören Weber
97336b2339
search: disable search in hidden pages #76
...
- invert config flag to streamline with other flags
- invert default value to emulate pre-patch behaviour
2021-09-03 20:01:46 +02:00
Helder Pereira
c75e5532f9
Fix index.json encoding
2021-08-31 10:45:33 +01:00
Sören Weber
3931faa1d5
include: add paramter to hide first heading #43
2021-08-28 10:08:10 +02:00
Sören Weber
7da2073845
tabs: enhance styling #65 #64 #35
2021-08-27 22:23:58 +02:00
Sören Weber
2e364fdb2b
arrow-nav: fix broken links on (and below) hidden pages #61
...
complete rewrite of logic
2021-08-27 14:11:29 +02:00
Sören Weber
fc28f11f8b
arrow-nav: default sorting ignores ordersectionsby #63
2021-08-27 00:29:40 +02:00
Sören Weber
39957388d4
children: default sorting ignores ordersectionsby #62
2021-08-27 00:27:41 +02:00
Sören Weber
dff23d89b4
arrow-nav: wildspace
2021-08-26 23:45:21 +02:00
Sören Weber
c2731993b8
menu: renaming var to streamline with other code #60
2021-08-26 23:28:50 +02:00
Sören Weber
d3f70bd846
menu: show hidden pages if accessed directly #60
2021-08-26 23:26:05 +02:00
Sören Weber
c81bf82ced
menu: allow empty ul
...
This simplyfies code, as of now it is only necessary to tag the ul with
classes and let the CSS do all the heavy lifting.
Care was taken, to not mess up layout when a ul ends up with all
its li hidden.
2021-08-26 22:19:52 +02:00
Sören Weber
d04bbaad4e
theme: treat pages without title as hidden #59
2021-08-26 12:42:20 +02:00
Helder Pereira
6efb50a010
Add menu-pre and menu-post templates
2021-08-25 13:54:52 +01:00
Sören Weber
1fda1d8692
children: add parameter for container style #53
2021-08-25 14:45:01 +02:00
Sören Weber
223aa26ddd
Merge branch 'fix-relative-search' of git://github.com/helfper/hugo-theme-relearn into helfper-fix-relative-search
2021-08-25 09:55:43 +02:00
Sören Weber
a47e7a6871
Merge branch 'content-template' of git://github.com/helfper/hugo-theme-relearn into helfper-content-template
2021-08-25 01:03:59 +02:00
Helder Pereira
2edbf2645c
Fix search with relativeURLs
2021-08-24 23:36:26 +01:00
Sören Weber
a69236d160
menu: control sub-menu expansion #49
2021-08-25 00:10:09 +02:00
Helder Pereira
49882c4ae6
Add content template
2021-08-24 21:59:46 +01:00
Sören Weber
2fcc3979b4
wildspace
2021-08-24 20:57:33 +02:00
Helder Pereira
449708afd4
Upgrade Hugo to 0.87.0
2021-08-24 00:48:48 +01:00
Helder Pereira
757d2f06dc
Fix home link when base URL has some path
2021-08-23 23:48:41 +01:00
Sören Weber
b29f1ce055
theme: adjust leading whitespace and superflous lines
2021-08-24 00:23:52 +02:00
Sören Weber
bdce9ec45a
theme: adjust idention to spaces
2021-08-23 23:57:56 +02:00
Sören Weber
de7b3d8056
theme: remove typos and superflous whitespace
2021-08-23 23:51:52 +02:00
Sören Weber
cdd08cdf1a
include: new shortcode - missing file #43
2021-08-23 22:19:48 +02:00
Sören Weber
5c667b3d07
code highligher: switch to standard hugo highlighter #32
...
Since a while, Hugo has its own mechanism for code highlightning.
We remove the old highlightning code provided by the client-side javascript library highlight.js and all its related files.
This also solves issues introduced by Hugos own highlightning because in our theme we are currently highlighting the code twice leading to unpredictiable results.
This will also fix an issue were light code highlightning themes weren't displayed correctly because our styles are overwriting color information.
Another advantage is the huge list of supported languages which by far exceeds our current list.
On the downside, this is a breaking change because our current color theme isn't supported by Hugo.
2021-07-26 11:50:34 +02:00
Sören Weber
bb5541f791
attachments: sort output #23
2021-07-26 11:14:27 +02:00
Sören Weber
6fb5852643
maintenance: upgrade jquery to 3.6.0 #30
...
Because of a jquery security vulnerability, we are upgrading to the latest version 3.6.0
https://blog.jquery.com/2020/04/10/jquery-3-5-0-released/
Depending on the site content, there may be issues with self-closing tags that are allowed to have content like `div` or `span`. See https://jquery.com/upgrade-guide/3.5/
2021-07-25 22:33:18 +02:00
Sören Weber
4d5d7f6815
attachments: support i18n for attachment size #21
2021-07-17 12:37:24 +02:00
Sören Weber
919c826f8c
attachments: align style with notice #28
2021-07-17 11:59:27 +02:00
Sören Weber
565cfbe03d
notice: align styles with attachments #28
2021-07-17 11:59:26 +02:00
Sören Weber
050837bc3f
expand: add option to open on page load #25
2021-07-16 23:51:11 +02:00
Sören Weber
bc1de84fc5
expand: remove undocumented named parameter
2021-07-16 23:14:07 +02:00
Sören Weber
a9a081903a
expand: make expander more visible #24
2021-07-16 23:07:15 +02:00
Sören Weber
a0084ecf96
notice: support multiple blocks in one box #15
2021-07-16 19:48:48 +02:00
Sören Weber
1b06d27608
pan and zoom for mermaid graphs #9
2021-07-02 23:01:38 +02:00
Sören Weber
8a53387a81
upgrade mermaid to 8.10.2 and relocate #7
2021-07-02 22:24:44 +02:00
Sören Weber
6b7779dac5
merge theme js scripts into one file and fix mermaid init #5
2021-07-02 21:58:16 +02:00
Sören Weber
3564d9ebfa
expose mermaid options in config.toml #4
2021-07-02 18:12:34 +02:00
Sören Weber
aad4bf26e1
Change mermaid initialization to support code fences #6
2021-07-02 17:38:58 +02:00
Sören Weber
b3429ed9a3
mermaid: config option for CDN url not used #12
2021-07-02 17:18:19 +02:00
Sören Weber
146965c497
Reworking screenshots after rebranding
2021-07-01 16:25:08 +02:00
Sören Weber
e8340249df
Docs adjustments #1
2021-07-01 14:35:27 +02:00
Sören Weber
82bdb24f72
New logo #1
2021-07-01 13:35:12 +02:00
Sören Weber
c108d677b4
Rebranding to new theme name
...
- Rename theme from "Learn" to "Relearn"
- also change URLs
- remove old references
- more removal of french and chinese
2021-06-30 14:56:06 +02:00
Alekos Filini
d7a4481ff2
Don't count hidden pages for the sub-menus ( #470 )
2021-03-16 17:29:22 +00:00
Swen Wenzel
0b5bb6e7b3
Implement tab views ( #386 )
...
Tab views from @swenzel
2021-03-16 17:21:57 +00:00
Helder Pereira
0c0b906ae1
Remove .Inner from children shortcode ( #400 )
2020-12-05 10:39:25 +00:00
Jian Liew
ae732f3931
Added binary prefix for kilobyte using i18n ( #461 )
2020-11-12 09:48:55 +00:00
DCsunset
c3a66e9b4d
Fix default logo URL ( #467 )
2020-11-12 09:46:37 +00:00
mirisbowring
6cfd61e0f6
Navigation home option ( #381 )
...
* enabled mermaid by default
* implemented logic to use internal oder cdn mermaid
* added english documentation
* added french translation for the mermaid options
* Removed useless test print
* Hugo does not use upper case letters in params
* fixed false sample link
* improved mermaid pages
* fixed always load mermaid if no frontmatter specified
* applied 3 new params to default config
* Implemented Home Button logic
* Applied default style
* applied same landingpage ref to logo partials
* added sample image, how the button will looks like
* added en documentation on how to configure the button
* translated home button configuration to french via deepl
* applied home button style to theme variants
* set button disabled by default
* fixed mermaid samples
* removed obsolete css files
* changed default version of mermaid cdn
* renamed mermaidURL to customMermaidURL and removed css link
* improved mermaid configuration description
Co-authored-by: Arthur Ferdinand Lindner <Arthur-Ferdinand.Lindner@Telekom.de>
Co-authored-by: Arthur Ferdinand Lindner <arthur.lindner@outlook.de>
2020-10-21 17:53:27 +01:00
mirisbowring
023fe7ef2b
Customize mermaid module ( #362 )
...
* enabled mermaid by default
* implemented logic to use internal oder cdn mermaid
* added english documentation
* added french translation for the mermaid options
* Removed useless test print
* Hugo does not use upper case letters in params
* fixed false sample link
* improved mermaid pages
* fixed always load mermaid if no frontmatter specified
* fixed mermaid samples
* removed obsolete css files
* changed default version of mermaid cdn
* renamed mermaidURL to customMermaidURL and removed css link
* improved mermaid configuration description
Co-authored-by: Arthur Ferdinand Lindner <Arthur-Ferdinand.Lindner@Telekom.de>
Co-authored-by: Arthur Ferdinand Lindner <arthur.lindner@outlook.de>
2020-09-11 14:57:25 +01:00
Razon Yang
00f1ca6856
Add the titleSeparator parameter. ( #448 )
...
* Add the titleSeparator parameter
* Add a description for the titleSeparator parameter
2020-09-11 09:31:22 +01:00
Gaetan BOGAERT
a7a29541f8
fix: change taxonomy term and use taxonomy name ( #444 )
...
@see bf74d9e81c
2020-09-10 17:59:18 +01:00
mtbt03
eb80a1788b
fix: closing div tag ( #416 )
...
Co-authored-by: HORIBATA Shingo <shingo@mitibata.dev>
2020-09-10 17:40:40 +01:00
Qi Wenmin
ca0872ecb5
Fix: can't give argument to non-function not .Params.hidden
...
Build fail when using Hugo 0.71.1.
2020-06-01 12:45:19 +01:00
Matthew Taylor
d4abb3c9a1
Allow custom css files to be loaded by configuration
...
Previously adding custom css files would require the end user to copy
the header or footer partial into their overrides. They would then
need to maintain that partial into the future.
This config allows a user to provide a list of custom css files to load
into the theme, meaning they do not need to clone the partial.
```
[params]
custom_css = ["css/foo.css", "css/bar.css"]
```
Inspiration taken from https://discourse.gohugo.io/t/how-to-override-css-classes-with-hugo/3033/4
2020-04-14 11:12:06 +01:00
Helder Pereira
f7847b6a3a
Fix .File.UniqueID on zero object warning
2020-03-09 15:25:50 +00:00
Rasmus Stougaard
46223816d6
Avoid displaying hidden sections in menu
2020-02-01 23:06:35 +00:00
Christian Oliff
a728d1afd6
remove unneeded spaces from HTML
2020-02-01 22:42:53 +00:00
Christian Oliff
be898802f0
remove
...
`<script src="{{"js/html5shiv-printshiv.min.js" | relURL}}{{ if not .Site.Params.disableAssetsBusting }}?{{ now.Unix }}{{ end }}"></script>`
This was only ever needed for IE8 (which is not supported with this theme since it uses a newer version of jQuery). Furthermore it should be loaded in the head anyway. IE9 supports HTML5 tags and does not need this polyfill at all.
2019-08-11 21:13:29 +01:00
James Booker
b304bb47f6
Fix shortcuts menu
2019-07-30 21:46:35 +01:00
James Booker
eb0ad9c489
Fix deprecated .Hugo, .UniqueID and .URL references
2019-07-30 21:46:35 +01:00
Christian Oliff
02315785f2
remove unneeded type="text/css"
2019-06-11 22:29:17 +01:00
Christian Oliff
c9153e7c04
remove unneeded type="text/css"
2019-06-11 22:28:40 +01:00
Mathieu Cornic
ec48c61329
Merge pull request #271 from berryp/issue/404-has-invalid-html
...
Fix invalid HTML in 404 template.
2019-06-06 14:07:37 +02:00
Christian Oliff
a793933f8e
HTTPS links in footer
2019-06-05 17:49:27 +09:00
Naveneetha Vasudevan
3a47917d6c
Remove reference to the unused horsey CSS
2019-06-05 00:11:45 +01:00
Christian Oliff
f5a8f30714
remove unneeded type="text/css"
2019-06-05 00:10:18 +01:00
Boris Bera
6b3ae716cf
Make all shortcodes render in old hugo "style"
2019-05-06 13:05:39 -04:00
Christopher Greaves
3d854fe9d4
Remove indentation in "children" shortcode
...
- Fixes a bug where the list items appear in a code block instead of as HTML
2019-04-16 18:45:22 +01:00
Christopher Greaves
8cd64b1bc9
Fix issue where all pages appear on root level if children keyword is used on home page.
2019-04-16 18:45:22 +01:00
Christopher Greaves
55b1b8ee83
fix issue where "children" shortcode only shows top level.
2019-04-16 18:45:22 +01:00
Berry Phillips
85711377a9
Fix invalid HTML in 404 template.
...
Fixes https://github.com/matcornic/hugo-theme-learn/issues/270
2019-04-12 09:21:59 +09:00
ozobi
a296946748
Update header.html
...
fixed indent
2019-04-01 22:31:07 +01:00
ozobi
f2ef666790
Update js and css
2019-04-01 22:31:07 +01:00
Matthew Taylor
e7a190392a
Merge branch 'master' of https://github.com/pdelaby/hugo-theme-learn into pdelaby-master
2019-03-25 21:01:40 +00:00
Delaby Pierre
6207c44b5c
PR#196 : Fix english typos and hide the 'tags' div when not needed
2019-03-16 10:55:18 +01:00
Pierre Adam
2dbd46d4ec
Fix translation when using a custom baseURL
...
When the baseURL is not / using $translation.URL is ignoring the baseURL. In order to sort this behavior, $translation.Permalink is working just fine.
2019-03-15 16:15:57 +00:00
Sakamoto, Kazunori
e5089aaa2f
Use style instead of width and height in logo
...
Close #249
2019-03-15 16:09:26 +00:00
Matthew Taylor
4fc43548b5
Merge pull request #227 from coliff/patch-3
...
remove duplicate icon and fix incorrect favicon type
2019-02-19 10:36:59 +00:00
David Pine
e10b558f34
Update menu.html to include the check icon
...
I'm seeing issues where the check icon is not rendered. It seems like it this `<i></i>` element was mistakenly missing the additional class required in order for it to actually render the font-awesome check icon. So, I added the `fa-check` class locally and now it works as expected.
2019-01-21 12:55:01 -06:00
Christian Oliff
43d3f15535
remove duplicate icon and fix incorrect favicon type
2019-01-04 17:21:03 +09:00
Matthew Taylor
8af73c2745
Merge branch 'master' into patch-5
2018-12-21 02:09:59 +00:00
Christian Oliff
3193a849c1
This fixes the close/cancel search icon not showing
...
This fixes issue: #209
2018-12-21 01:15:38 +09:00
Christian Oliff
3ea5860c3e
Use correct input type for search
...
This doesn't change functionality but could aid with accessibility and is more semantically correct.
2018-12-13 21:59:54 +09:00
Matthew Taylor
9af78be175
Merge pull request #186 from tanzaho/patch-2
...
Updated CSS link to fontawesome library
2018-11-01 17:00:17 -04:00
Matthew Taylor
8726b9b02d
Merge pull request #184 from cloudreach/willwade-master
...
RETRY - Params to turn off next/previous page - and breadcrumb
2018-10-31 23:49:17 -04:00
Jean-Christophe
330ae6d91c
Updated CSS link to fontawesome library
2018-10-27 22:40:08 +02:00
ChrisLasar
a88bc477cc
Logo links BaseUrl now
...
This might ease the adaptation of the theme for Hugo newbies like me ;)
2018-10-24 19:16:49 +02:00
Matthew Taylor
982b7290b3
Fix conflicts
2018-10-22 22:51:26 -04:00
Matthew Taylor
ff092165d2
Fix baseurl used by search to load json data
2018-10-17 14:31:29 -04:00
Delaby Pierre
a75b1a0ce1
Display tags list
2018-10-16 13:05:32 +02:00
Delaby Pierre
79a9777e9a
Displays tags on single (using header)
...
Display tags list when clicking on tag
2018-10-16 12:08:58 +02:00
pgorod
781d1e9457
Update 404.html
...
This is useful because using "alt" attribute is generally a good idea. But I had to change this in my project because I am running automated tests and this was causing an error from my over-zealous error-checker robot. Fair enough.
2018-09-20 17:04:16 +01:00
Mathieu Cornic
300c1614ec
Merge branch 'master' of https://github.com/matcornic/hugo-theme-learn
2018-08-10 11:19:30 +02:00
Mathieu Cornic
a690228179
fix conflict
2018-08-10 11:03:31 +02:00