Commit graph

514 commits

Author SHA1 Message Date
Sören Weber
022ad07ec1
Contributers cleanup #1 2021-07-01 14:57:26 +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
9cc3f7103c
Compliance: Rename branch master to main 2021-07-01 11:01:51 +02:00
Sören Weber
862f981f0c
Docs 2021-07-01 10:22:39 +02:00
Sören Weber
193a1b4db3 Netlify moved content 2021-07-01 08:17:24 +02:00
Sören Weber
6e75cb0a29 Update badges 2021-07-01 00:43:48 +02:00
Sören Weber
4137b5d2c5 Iconic relearn color theme 2021-06-30 23:15:51 +02:00
Sören Weber
500c3e5120 Credits added 2021-06-30 21:57:53 +02:00
Sören Weber
494a3c8b7c Repair links after making content single language 2021-06-30 21:30:03 +02:00
Sören Weber
e4abaabb4c Remove more references 2021-06-30 14:56:51 +02:00
Sören Weber
e85c6831cc Ignore hugo executable for improved test workflow 2021-06-30 14:56:28 +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
Sören Weber
a938c24a63 Removed all but english documentation
to make it maintainable
2021-06-30 14:55:13 +02:00
Sandro Gauci
d198cbe65f
fix potential XSS in search (#492)
mostly it looks like a self-XSS but still good to fix
2021-04-01 00:48:33 +01:00
Alekos Filini
d7a4481ff2
Don't count hidden pages for the sub-menus (#470) 2021-03-16 17:29:22 +00:00
Helder Pereira
f5f91e39fa
Fix TOC indentation (#479) 2021-03-16 17:28:19 +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
Sören Weber
87ada591c5 Distinguish links from content on printout 2020-10-05 16:14:49 +02:00
Sören Weber
388439c321 Rework header and footer for printing
All changes only apply to printing:
- Remove stickiness from header to avoid it been printed on every page
- Print breadcrumbs to header regardless of width
- Header and footer are now divided by a horizontal line from content
- Hamburger menu, toc button and github button/text are now hidden from header
- if toc is displayed on hover in screen mode, hide it if switched to printing
2020-10-05 15:10:14 +02:00
Sören Weber
b713e50140 Remove margin between content and arrows
in print this will add additional ending space and may cause
to add unnecessary empty pages at the end

it also does not provide real value in screen mode
2020-10-05 12:22:23 +02:00
Sören Weber
1cad4cc2f6 Remove navigation arrows from print 2020-10-05 12:19:52 +02: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
Adam Snyder
21a3f77b14
Remove code that adjusts navigation margin (#419) 2020-09-10 17:21:20 +01:00
Susan Potter
699c9fdf9f
Upgrade mermaid-js/mermaid @ 0918b97 (v8.8.0) (#443)
* Upgrade mermaid-js/mermaid @ 0918b97

* Update exampleSite with new mermaid graph (stateDiagram-v2) example

* Update content of mermaid.js with officially distributed v8.8.0 minified version
2020-09-10 17:12:32 +01:00
Matthew Taylor
48a0e36c8a Update netlify baseurl fixes #438 2020-09-10 16:02:31 +01:00
Alan Cha
66feffbd41 Fix typo 2020-09-10 15:14:51 +01:00
Nina Zakharenko
704648b6a7 Make copy to clipboard button lighter color, hover matches links 2020-09-10 15:10:56 +01:00
Alan Cha
41a3f928f0 Fix children shortcode table
HTML does not seem to display properly in the table
2020-09-10 15:09:35 +01:00
Alan Cha
863876230c Remove extra space 2020-09-10 15:03:43 +01:00
Alan Cha
37399cf84e Remove extra space 2020-09-10 15:03:04 +01:00
Matthew Taylor
3efb32712c Ship tag 2.5.0 2020-06-01 15:43:31 +01:00
Matthew Taylor
6dea56b871 Add additional documentation for code highlighting 2020-06-01 15:08:15 +01:00
Matthew Taylor
9c080a39d8 Fix various markdown warnings 2020-06-01 14:59:19 +01:00
Matthew Taylor
8349d619a5 Apply updated highlight.js 10.0.3 (a4b1bd2d) 2020-06-01 14:59:19 +01:00
Jared Stehler
54b373f350 fix null pointer when no params on image url 2020-06-01 13:00:37 +01:00
Matthew Taylor
35b423c2e8 Netlify build on 0.72.0 2020-06-01 12:45:19 +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
Roger Lehmann
eb0f29ee44 Updated Installation documentation link.
Since the old link redirects to "Hugo Modules" documentation, which isn't fitting for this kind of theme, I changed it to the short tutorial in the getting started guide. Not perfect but better than having a mismatching guide, confusing users (such as myself).
2020-04-14 11:10:33 +01:00
Matthew Taylor
b5c759a3c7 Netlify build on 0.66.0 2020-03-09 16:17:14 +00:00
Helder Pereira
f7847b6a3a Fix .File.UniqueID on zero object warning 2020-03-09 15:25:50 +00:00
Matthew Taylor
41c6cc522f Bump hugo to 0.63.2 2020-02-02 00:14:28 +01:00