Commit graph

405 commits

Author SHA1 Message Date
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
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
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
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
b3461b6ac7
Merge remote-tracking branch 'origin/main' 2022-03-27 22:24:47 +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
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
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
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
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
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
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
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
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
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
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
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
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