Commit graph

149 commits

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