Commit graph

559 commits

Author SHA1 Message Date
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