Commit graph

69 commits

Author SHA1 Message Date
Sören Weber
949429faab
nav: rework edit button #151 2022-02-15 00:22:34 +01:00
Sören Weber
9ea06563be
theme: support for dark mode #175 2022-02-11 00:59:40 +01:00
Sören Weber
676ba8a7bb
exampleSite: arrr, let pirrrates rrread sites from subfolder with canonifyURLs=false #163 2022-02-06 01:59:26 +01:00
Sören Weber
2ec9dc70c8
exampleSite: make configuration work from subfolder and canonifyURLs=false #163 2022-02-06 01:55:07 +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
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
e9e6722e66
docs: example for blockquote cite 2021-10-12 18:49:24 +02:00
Sören Weber
fdd5ff7ab8
clarify caveats for mermaid code fences 2021-10-07 23:01:04 +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
16b346c646
menu: frontmatter option to change sort predicate #98 2021-09-27 22:03:10 +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
02c72c9f31
docs: rename english pirate translation to avoid crash on rendering #90 2021-09-20 22:04:35 +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
5574ec073e
docs: showcase multilang feature #87
Arrr, Pirrrate trrranslat'n
2021-09-11 15:46:14 +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
Helder Pereira
6efb50a010 Add menu-pre and menu-post templates 2021-08-25 13:54:52 +01: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
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
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
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
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
e8340249df
Docs adjustments #1 2021-07-01 14:35:27 +02:00
Sören Weber
494a3c8b7c Repair links after making content single language 2021-06-30 21:30:03 +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
Alan Cha
863876230c Remove extra space 2020-09-10 15:03:43 +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
Jian
3ea5bca755 Added flag to turn off image featherlight 2020-02-01 22:58:17 +00:00
HUC
1bc1eef887
Fix: typos
Corrections de plusieurs erreurs typo ! :p
2019-11-06 14:17:39 +00:00
Sam Crauwels
95c78a8e12
Fix type lines 364 and 369
with code > as code
2019-06-17 01:43:58 +02:00
Boris Bera
24da9d9e1d Fix all images to use the /en/ path 2019-05-06 13:44:27 -04: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
ImgBotApp
26748c29e9 [ImgBot] Optimize images
*Total -- 2,545.56kb -> 1,758.74kb (30.91%)

/static/images/favicon.png -- 1.22kb -> 0.59kb (51.48%)
/exampleSite/content/basics/installation/images/chapter.png -- 85.71kb -> 46.66kb (45.56%)
/exampleSite/content/cont/pages/images/pages-chapter.png -- 243.33kb -> 152.42kb (37.36%)
/exampleSite/content/basics/style-customization/images/red-variant.png -- 380.82kb -> 239.39kb (37.14%)
/exampleSite/content/basics/style-customization/images/blue-variant.png -- 380.01kb -> 238.93kb (37.13%)
/exampleSite/content/basics/style-customization/images/green-variant.png -- 381.74kb -> 240.20kb (37.08%)
/exampleSite/content/cont/pages/images/pages-default.png -- 310.79kb -> 196.47kb (36.78%)
/exampleSite/static/images/showcase/tat.png -- 405.21kb -> 302.69kb (25.3%)
/static/images/gopher-404.jpg -- 215.36kb -> 201.42kb (6.47%)
/images/tn.png -- 141.37kb -> 139.98kb (0.99%)
2019-03-15 16:47:53 +00:00
Delaby Pierre
5f53dfaa15 Add documentation an theme variants 2018-11-29 09:34:55 +01:00
Matthew Taylor
fd4651dee1 Fix error in blockquote documentation 2018-11-01 20:15:46 -04:00
Mathieu Cornic
17bdacdd9f fix #179: replace github images ressource by https instead of http 2018-10-10 19:29:55 +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