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
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
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
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
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
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
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
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
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
de7b3d8056
theme: remove typos and superflous whitespace
2021-08-23 23:51:52 +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
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
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
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
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
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
a793933f8e
HTTPS links in footer
2019-06-05 17:49:27 +09:00
Christian Oliff
f5a8f30714
remove unneeded type="text/css"
2019-06-05 00:10:18 +01: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