Commit graph

339 commits

Author SHA1 Message Date
Sören Weber
147b97fac0
docs: update notice for removed font #83 2021-11-03 21:51:25 +01:00
Sören Weber
63dccef035
toc: make omitting disableToc behave as the former default #133 2021-11-03 20:44:23 +01:00
Andreas H
c90db9fe74 add BITS-Training to showcase 2021-11-03 14:23:56 +01:00
Andreas H
beb80e48fc added Documentation for disableToc in config.toml 2021-11-03 11:10:35 +01:00
Andreas H
01717b845d fix casing of disableToc parameter 2021-11-03 11:03:22 +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
8f7c0da9e7
theme: remove unused fonts #83
because we only support IE11 and evergreen browsers, having woff and woff2 is enough
2021-10-30 23:10:57 +02: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
GitHub Actions Bot
22180dcf07 Ship tag 2.7.0 2021-10-24 11:08:14 +00:00
Sören Weber
d0e8300e1e
docs: typo 2021-10-24 13:03:38 +02:00
Sören Weber
85f55aaceb
docs: updated screenshots
because of earlier changes to color
2021-10-24 13:01:01 +02:00
Sören Weber
19e8ddbb77
docs: adjust docs to config.toml 2021-10-24 11:53:09 +02:00
Sören Weber
96d284eb8b
docs: unmention min Hugo version
as this is not verfied anymore and most likely outdated
2021-10-24 11:44:07 +02:00
Sören Weber
3fe72e76e1
docs: announce new notice parameter #124 2021-10-24 11:41:12 +02:00
Sören Weber
3ffdf79c27
docs: switch to some kind of EBNF for shortcodes 2021-10-24 11:34:29 +02:00
David Lawrence
c239e76501
add support for optional parameter to use as title for notices 2021-10-21 19:20:30 -07:00
GitHub Actions Bot
d1a935c299 Ship tag 2.6.0 2021-10-21 23:18:13 +00:00
Sören Weber
0d3c097f8c
task: lowercase contributing.md 2021-10-19 17:24:10 +02:00
Sören Weber
ae7dacb331
task: remove unreferenced license file 2021-10-19 17:21:54 +02:00
Sören Weber
69497ee14e
docs: migration hint for serving from subdirectory #120 2021-10-17 23:17:13 +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
d339ad464f
docs: curse like a real pirrrate #112 2021-10-12 23:52:05 +02:00
Sören Weber
8cf870d36c
docs: add example for local shortcut link #112 2021-10-12 23:50:41 +02:00
Sören Weber
e9e6722e66
docs: example for blockquote cite 2021-10-12 18:49:24 +02:00
Sören Weber
227e9ccbf2
wildspace 2021-10-12 17:20:45 +02:00
Sören Weber
ce0b07cf65
theme: default color for code block fallback - fix 2021-10-12 17:15:56 +02:00
Sören Weber
87dda78cdc
theme: default color for code block fallback 2021-10-12 17:11:02 +02:00
Sören Weber
aa5875d5ca
Ship tag 2.5.1 2021-10-12 16:48:09 +02:00
Sören Weber
7c1dd4c32c
docs: add missing code colors to documentation #113 2021-10-10 17:28:13 +02:00
Sören Weber
5bbeb9445c
Ship tag 2.5.0 2021-10-08 19:33:45 +02:00
Sören Weber
788823920c
syntax highlight: provide default colors for unknown languages #113 2021-10-08 19:18:05 +02:00
Sören Weber
fdd5ff7ab8
clarify caveats for mermaid code fences 2021-10-07 23:01:04 +02:00
Sören Weber
a2fa096c3e
Test for https://github.com/matcornic/hugo-theme-learn/issues/517 2021-10-07 21:41:56 +02:00
Sören Weber
992cfb0b8b
Ship tag 2.4.1 2021-10-07 21:30:10 +02:00
Sören Weber
0ca4005cfb
Ship tag 2.4.0 2021-10-07 21:24:12 +02:00
Sören Weber
5d515e9d17
docs: what's new page #103 2021-10-07 21:19:55 +02:00
Sören Weber
dffc0cb230
theme: simplify stylesheet for color variants #107 2021-09-30 00:17:16 +02:00
Sören Weber
80a3cb9756
theme: equal rights for h6 #92 2021-09-29 00:24:54 +02:00
Sören Weber
d20698eb0f
docs: use notice box instead of wacky text 2021-09-29 00:01:32 +02:00
Sören Weber
6c8bbd9383
remove outdated Hugo stuff
https://discourse.gohugo.io/t/what-does-metadataformat-do/20542/2
2021-09-28 21:50:29 +02:00
Sören Weber
0b2379269d
docs: add hint for search in config.toml 2021-09-28 21:35:59 +02:00
Sören Weber
a0e5194c00
attachments: fix search dir and link if contentDir in multilang config is used #105 2021-09-28 21:24:30 +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
5d98f7d31f
hidden pages: remove from taxonomy #102 2021-09-24 06:59:28 +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
a96e6b93f8
docs: change chroma theme as it looks weird for certain markers #99 2021-09-23 22:13:37 +02:00
Sören Weber
714b790f0e
docs: block code doesn't always has a background #100 2021-09-23 21:46:32 +02:00
Sören Weber
891ecac371
Ship tag 2.3.2 2021-09-20 22:25:47 +02:00
Sören Weber
57fad461eb
Ship tag 2.3.2 2021-09-20 22:23:05 +02:00
Sören Weber
a020acab09
docs: rename history pirate translation #91 2021-09-20 22:21:33 +02:00
Sören Weber
354bb1cdf1
Ship tag 2.3.1 2021-09-20 22:09:34 +02:00
Sören Weber
02c72c9f31
docs: rename english pirate translation to avoid crash on rendering #90 2021-09-20 22:04:35 +02:00
Sören Weber
6e61a7e1e4
docs: edit changelog after release 2021-09-13 21:20:06 +02:00
Sören Weber
c4e5ed068a
Ship tag 2.3.0 2021-09-13 21:15:23 +02:00
Sören Weber
03205f9f26
theme: fix usage of <section> in exampleSite #88 2021-09-13 19:28:14 +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
5574ec073e
docs: showcase multilang feature #87
Arrr, Pirrrate trrranslat'n
2021-09-11 15:46:14 +02:00
Sören Weber
5818228df3
Ship tag 2.2.0 2021-09-10 01:15:46 +02:00
Sören Weber
2775489287
sitemap: turn off indexing of hidden pages in exampleSite #85 2021-09-10 00:17:58 +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
d2051088d5
Ship tag 2.1.0 2021-09-07 21:46:42 +02:00
Sören Weber
234412e2d2
docs: add new templates #78 2021-09-07 21:32:21 +02:00
Sören Weber
28450684a9
search: adding test for expander content
search for 'maybe' to see expander text also been searched
2021-09-04 00:50:08 +02:00
Sören Weber
97336b2339
search: disable search in hidden pages #76
- invert config flag to streamline with other flags
- invert default value to emulate pre-patch behaviour
2021-09-03 20:01:46 +02:00
Sören Weber
a78207ab4e
Merge branch 'fix-index-json-encoding' of git://github.com/helfper/hugo-theme-relearn into helfper-fix-index-json-encoding 2021-09-03 19:31:06 +02:00
Helder Pereira
c75e5532f9 Fix index.json encoding 2021-08-31 10:45:33 +01:00
Sören Weber
f1375dfe52
docs: first draft of contribution guidelines 2021-08-30 22:30:00 +02:00
Sören Weber
9bc3f4e416
docs: remove internal issue from changelog 2021-08-28 12:32:29 +02:00
Sören Weber
7315c6036c
Ship tag 2.0.0 2021-08-28 12:22:53 +02:00
Sören Weber
c8e7609be8
docs: add migration instructions #42 2021-08-28 12:05:53 +02:00
Sören Weber
0dc7e60676
theme: update credits 2021-08-28 11:43:44 +02:00
Sören Weber
2bde4c602e
docs: more links for starters 2021-08-28 11:18:43 +02:00
Sören Weber
8a7dce6ce5
docs: elaborate on fork decision #26 2021-08-28 10:39:54 +02:00
Sören Weber
3931faa1d5
include: add paramter to hide first heading #43 2021-08-28 10:08:10 +02:00
Sören Weber
4ba89ec502
docs: show subpages in children example 2021-08-28 09:36:06 +02:00
Sören Weber
7059329c01
theme: adjust block margins #64 2021-08-27 18:21:12 +02:00
Sören Weber
3df27ef251
theme: example for adjacent tables #64 2021-08-27 15:28:23 +02:00
Sören Weber
7800611d01
docs: children example improved #62 2021-08-27 01:00:11 +02:00
Sören Weber
39957388d4
children: default sorting ignores ordersectionsby #62 2021-08-27 00:27:41 +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
43e600bc0c
add more tests for hidden pages #60 2021-08-26 22:16:43 +02:00
Sören Weber
da9be46f31
docs: improve hidden page examples 2021-08-26 20:54:31 +02:00
Helder Pereira
6efb50a010 Add menu-pre and menu-post templates 2021-08-25 13:54:52 +01:00
Sören Weber
2e445d2584
docs: make shortcodes main page a chapter #54
to adjust with the rest of the page structure
2021-08-25 14:49:46 +02:00
Sören Weber
1fda1d8692
children: add parameter for container style #53 2021-08-25 14:45:01 +02:00
Sören Weber
15cfc82ddb
theme: convert front matter to TOML #52
remove date field
2021-08-25 13:33:29 +02:00
Sören Weber
a69236d160
menu: control sub-menu expansion #49 2021-08-25 00:10:09 +02:00
Helder Pereira
37d314b676 Fix typos in exampleSite 2021-08-24 00:47:18 +01:00
Helder Pereira
c52ef52f2b Fix custom theme's variable typo in --MENU-HOME-LINK-HOVERED-color 2021-08-23 23:51:54 +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
0d66a97284
code highlighter: avoid unstyled blocks for indention in docs #32 2021-08-24 00:25:15 +02: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
42c8ec549b
code highlighter: avoid unstyled blocks in docs #32
The new highlighter does not work to well if no syntax is specified
for the code block / code fence / indention.
See https://github.com/gohugoio/hugo/pull/8917
2021-08-23 23:32:34 +02:00
Sören Weber
32d3d80b80
docs: show CHANGELOG in exampleSite #33 2021-08-23 22:20:29 +02:00
Sören Weber
c4215dd154
include: new shortcode #43
necessary for inclusion of CHANGELOG.md
2021-08-23 22:16:08 +02:00
Sören Weber
2a5deb0534
docs: move CHANGELOG into exampleSite #33
that makes it possible to include it into the official documentation
2021-08-23 22:13:16 +02:00
Sören Weber
c31371b871
theme: migration page #42 2021-08-23 21:20:24 +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
bb5541f791
attachments: sort output #23 2021-07-26 11:14:27 +02:00
Sören Weber
c62a9d1958
docs: unifiy mermaid, expand and notice docs #31 2021-07-26 10:10:10 +02:00
Sören Weber
4b4a6bc5e2
docs: Cleanup markdown reference page #31 2021-07-26 01:47:25 +02:00
Sören Weber
c161a2c03d
docs: add missing lightbox showcase #31 2021-07-25 22:41:53 +02:00
Sören Weber
4d5d7f6815
attachments: support i18n for attachment size #21 2021-07-17 12:37:24 +02:00
Sören Weber
050837bc3f
expand: add option to open on page load #25 2021-07-16 23:51:11 +02:00
Sören Weber
a9e7e8f68b
expand: add unsafe html to config to allow nested shortcodes 2021-07-16 23:15:04 +02:00
Sören Weber
5f7cba3d97
rework expand documentation 2021-07-16 22:35:20 +02:00
Sören Weber
86317356d6
notice: rework documentation 2021-07-16 22:04:22 +02:00
Sören Weber
a0084ecf96
notice: support multiple blocks in one box #15 2021-07-16 19:48:48 +02:00
Sören Weber
f6df8bfb53
theme: prepare for new hugo theme registration #13 2021-07-04 20:59:17 +02:00
Sören Weber
e2ae88d0cf
show some mermaid default values in docs #5 2021-07-02 23:18:54 +02:00
Sören Weber
99d107181c
remove google analytics & others from docs #1 2021-07-02 23:15:42 +02:00
Sören Weber
1b06d27608
pan and zoom for mermaid graphs #9 2021-07-02 23:01:38 +02:00
Sören Weber
c450aa48e7
removing mermaid CDN dependency from exampleSite #7
to let example work in local installations
2021-07-02 22:18:25 +02:00
Sören Weber
2219b54ebe
update mermaid docs #5 2021-07-02 22:05:35 +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
120fd7929e
mermaid git graph causes severe loading issues #5
this is a mermaid bug, we just remove the graph to don't
receive bug reports that should be filed in the mermaid repo
2021-07-02 21:56:00 +02:00
Sören Weber
88611e0bf0
document mermaid options #4 2021-07-02 18:15:26 +02:00
Sören Weber
3564d9ebfa
expose mermaid options in config.toml #4 2021-07-02 18:12:34 +02:00
Sören Weber
2ab6982425
Bring back mermaid code fences in docs #6 2021-07-02 17:40:05 +02:00
Sören Weber
c18a14facf
mermaid: fix official url in docs #11 2021-07-02 16:41:20 +02:00
Sören Weber
bd9983978b
Hardening examplesite against misconfiguration 2021-07-01 21:47:17 +02:00
Sören Weber
146965c497
Reworking screenshots after rebranding 2021-07-01 16:25:08 +02:00
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
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
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
Swen Wenzel
0b5bb6e7b3
Implement tab views (#386)
Tab views from @swenzel
2021-03-16 17:21:57 +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
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
Alan Cha
66feffbd41 Fix typo 2020-09-10 15:14:51 +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
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
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
Jian
3ea5bca755 Added flag to turn off image featherlight 2020-02-01 22:58:17 +00:00