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
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
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
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
79a9777e9a
Displays tags on single (using header)
...
Display tags list when clicking on tag
2018-10-16 12:08:58 +02: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
Mathieu Cornic
a1d948f8ed
Merge pull request #122 from mdavids/patch-2
...
Different viewport
2018-08-10 10:45:26 +02:00
willwade
a29add8d5e
changes so can now use page params as well as site
2018-03-19 10:40:10 +00:00
will wade
6d6fde35b9
adding .Site.Params.disableNextPrev
...
adding this site param to disable back and forth..
2018-03-14 00:30:00 +00:00
will wade
2fd986166e
adding .Site.Params.disableBreadcrumb
...
NB: Still shows heading of page. Otherwise looks a bit ugly
2018-03-14 00:28:37 +00:00
matcornic
59c4cbf186
fix #130 : favicon works now with baseURL
2018-02-20 19:47:55 +01:00
Matthew Taylor
cca7fdeeb0
Modify fontawesome selectors for v5.x
2018-02-19 16:33:30 +00:00
Matthew Taylor
ddb8d4c5aa
Update Font Awesome to 5.0.6
2018-02-19 16:33:30 +00:00
Marco Davids
b3edc029b2
Different viewport
...
Works better on iPhone and prevents a warning in HTML5-validators.
2018-01-24 15:42:16 +01:00
Marco Davids
42dbe096d2
role="" is invalid
...
Removing class="" because it does not add a whole lot
Removing role="" because it is invalid HTML (cannot be empty) and generates HTML-errors in validators.
2018-01-24 15:29:57 +01:00
Mathieu Cornic
7ec195a7f4
Merge pull request #102 from RealOrangeOne/master
...
Use `relURL` where possible
2018-01-17 22:27:00 +01:00
Gennady Pospelov
12cab1bed6
Fix for random failures in menu generation
2018-01-17 17:52:56 +01:00
Jake Howard
2c664160b0
Use relURL
where possible
2018-01-06 22:27:36 +00:00
matcornic
6562adeb7b
fix #83 no Title and Edit this page text when on mobile + fixed top bar width pbm on resize by switching to sticky.js instead of sticky-kit
2017-11-23 19:46:56 +01:00
Manuel Reithuber
d335f88af4
menu.html: added support for a 'menuTitle' frontmatter parameter
2017-11-19 13:55:30 +01:00
Manuel Reithuber
1a3ca9010d
layouts/partial/menu.html: using the 'linkTitle' attribute as link text (if present)
2017-11-19 13:32:31 +01:00
Haitao Chen
13780c6fa8
allowing comments system
2017-11-03 23:37:37 -07:00
Ryan McGuire
ff5ef7c020
Replace horsey with Pixabay's autocomplete ( #75 )
2017-09-28 18:47:26 +02:00
matcornic
2bbbf604a9
fix jumping navbar
2017-08-20 23:43:50 +02:00
matcornic
a64a454421
Handling multilingual mode on extra menu shortcuts
2017-08-20 23:43:49 +02:00
matcornic
6b265c5181
add first content for new documentation
2017-08-20 23:43:49 +02:00
matcornic
52e897dcb9
changed defaults + scroll with offset
2017-08-20 23:43:49 +02:00
matcornic
554480d4e0
add wercker to compare with travis
2017-08-20 23:43:48 +02:00
matcornic
44821c94a7
fix search for multiple languages
2017-08-20 23:43:48 +02:00
matcornic
7ca4b0c7ad
feat: add theme variant system + add blue variant
2017-08-20 23:43:48 +02:00
matcornic
eb60debba2
feat: add 'more' section in left menu
2017-08-20 23:43:47 +02:00
matcornic
951e8fb40e
feat: add shortcode for attachments
2017-08-20 23:43:47 +02:00
matcornic
da208441c0
feat: add sticky bar with smooth scroll
2017-08-20 23:43:47 +02:00
matcornic
e37af28876
add parameter to disable copy-to-clipboard function for inline code
2017-08-20 23:43:47 +02:00
matcornic
9eb81efb44
fix busting javascript #47
2017-08-20 23:43:46 +02:00
matcornic
47c72cb81e
feat: better UX in the menu
2017-08-20 23:43:46 +02:00
matcornic
157e3ac512
feat: add full i18n. Select desired language in the site automatically
2017-08-20 23:43:46 +02:00
matcornic
2b03e2568e
feat: mermaid #53 + archetypes + move doc + expand
2017-08-20 23:43:45 +02:00
matcornic
b2ac8298bf
feat: support of Hugo 0.22+ #51 #48 #11 #50
2017-08-20 23:43:44 +02:00
lfalin
c68dda185e
Fix sticky header jumpiness (see: https://github.com/leafo/sticky-kit/wiki/Troubleshooting )
2017-05-25 22:06:02 -06:00
matcornic
797ac73ff9
fixes #40
2017-04-23 12:35:11 +02:00
Nikolay Yakimov
efd220cc3d
Fix breadcrumbs on /content/_index
2017-03-27 23:37:46 +03:00
Nikolay Yakimov
2f5722599e
Merge branch 'use-index-pages' of github.com:lierdakil/hugo-theme-learn into use-index-pages
2017-03-27 22:58:09 +03:00
Nikolay Yakimov
7aa1e70638
Fixes, see description
...
* fix menu ordering when mixing chapters and non-chapters
* allow for `chapter` type override in `_index` pages
* fix breadcrumbs
* fix some crashes with empty categories
* use page context in list.html (to avoid setting uniqueid in scratch)
* use UniqueID instead of relative links for page identification
2017-03-27 22:57:49 +03:00
Nikolay Yakimov
f1c65dd9e7
Use relURL for manual navigation
2017-03-26 20:30:49 +03:00
Nikolay Yakimov
532a102a87
Remove baseurl from automatic navigation arrows
...
Since it's already included in `Page.URL`
2017-03-26 20:15:36 +03:00
Nikolay Yakimov
9144ca72aa
Fixed "error calling after: no items left"
2017-03-26 05:06:15 +03:00
Nikolay Yakimov
56791780ac
Merge remote-tracking branch 'origin/master' into use-index-pages
2017-03-26 04:37:32 +03:00
matcornic
4257ec0471
fix: errors when building site with Hugo 0.20
2017-03-25 18:14:50 +01:00
Nikolay Yakimov
329d426d86
More compatibility issues
2017-03-14 02:55:59 +03:00
Nikolay Yakimov
79107d2e75
Backwards compatibility
2017-03-14 02:10:33 +03:00
Nikolay Yakimov
f238cdbc16
Auto prev/next
2017-03-14 01:31:13 +03:00
Nikolay Yakimov
23e40c6b5b
Use index pages
2017-03-14 01:07:40 +03:00
Nikolay Yakimov
b8d31039ec
Initial auto arrows
2017-03-14 00:19:57 +03:00
Daniel Åvall
61c41bf3b9
Extracted menu footer content to separate partial file, for easy override
2017-02-27 15:01:50 +01:00
Giulio Vian
b8ce3f3c45
Fix URL for 'Edit this page' on Windows
2017-01-05 22:59:15 +01:00
matcornic
7603122da8
fix: dead links on prev/next arrows
2016-12-30 22:48:13 +01:00
matcornic
256c632662
#25 just prefix with slashes to avoid breaking changes for people using basurl without a trailing slash"
2016-12-20 00:04:24 +01:00
R.I.Pienaar
994e6b1f75
( #25 ) use .Site.BaseURL to lcoate static assets
2016-12-18 09:48:27 +01:00
Leclerc Gwendal
4218d1a27d
feat: extract search out of header + use baseurl to search json index + add a step to explain how to use lunr-hugo + update perfect-scrollbar
2016-10-25 20:26:19 +02:00
Leclerc Gwendal
363bb68e42
feat: configure lunr, extract inline javascript in search.js and fix horsey popup position
2016-10-25 20:26:19 +02:00
Leclerc Gwendal
c645b07402
feat: add search support
2016-10-25 20:26:19 +02:00
Kamil Chmielewski
58a9e07c57
Menu ordering and definition in config.toml ( #8 )
2016-10-14 09:30:59 +02:00
Mathieu Cornic
00d849ce1f
Revert "Menu generation using Content file instead directories" ( #10 )
2016-10-02 18:22:32 +02:00
Xipas
64012f31af
Added menu generation from defenition on content.md files, selectable using params .createFromSiteMenusMain on toml file. ( #5 )
...
Fixes #2
2016-10-02 18:12:30 +02:00
Andre Sousa
2adc47aa6f
Fix - Wrong context value
2016-05-24 16:23:11 +01:00
Andre Sousa
b644aa817b
add an optional boolean showVisitedLinks parameter
2016-05-24 15:08:53 +01:00
Andre Sousa
079e2a0400
Add Checkmark On visited Links
2016-05-23 21:18:57 +01:00
Mathieu Cornic
f50a77d0c5
feat: partials for style and scripts are now empty
2016-04-11 00:09:03 +02:00
Mathieu Cornic
ab5ed09a77
feat: reset original colors + add note shortcode + split favicon into partial
2016-03-29 00:35:18 +02:00
Leclerc Gwendal
c2d67b677c
feat: add annimation on link + fix toc + modify sidebar button
2016-03-26 03:28:38 +01:00
Leclerc Gwendal
6686e925c0
feat: replacing jquery.scrollbar by perfect-scrollbar
2016-03-25 11:53:03 +01:00
Cornic Mathieu
fb77b7e737
feat(menu): no ul new line when item active with no child ; feat(fork): fork icon instead of github
2016-03-21 16:58:15 +01:00
Mathieu Cornic
40bdb505df
feat: sticky top bar
2016-03-18 19:00:27 +01:00
Mathieu Cornic
4683d790f6
clean
2016-03-18 18:32:57 +01:00
Mathieu Cornic
b644f0eb7e
feat: split partials to have better generecity + added index.html sample page
2016-03-17 21:40:58 +01:00
Mathieu Cornic
e1aae4a2cc
feat: added Table of contents
2016-03-17 21:05:42 +01:00
Mathieu Cornic
2b88eae74b
feat: implemented functionnalities on Markdown images: 1. featherlight for full size view in popup 2. Height/Width customizables 3. Possibility to add css classes
2016-03-17 17:48:18 +01:00
Mathieu Cornic
0495785eda
feat: navigation arrows + breadcrumb
2016-03-17 14:10:43 +01:00
Mathieu Cornic
9246996907
feat: init commit with basic functionnalities
2016-03-17 12:01:39 +01:00