Commit graph

1951 commits

Author SHA1 Message Date
GitHub Actions Bot
8210020994 Mark non-release version 2023-06-10 12:23:45 +00:00
GitHub Actions Bot
46511aecea Ship tag 5.16.2 2023-06-10 12:23:35 +00:00
Sören Weber
b85376f164
theme: flip 404 image #566 2023-06-10 14:18:38 +02:00
Sören Weber
ab055b4a79
docs: error page #566 2023-06-10 14:02:57 +02:00
Sören Weber
25a2358096
theme: revamp 404 page #566 2023-06-10 13:56:58 +02:00
Sören Weber
57943fac16
docs: add missing block boundaries 2023-06-10 00:21:58 +02:00
Sören Weber
90dcde60ee
docs: use _ consistantly for italics 2023-06-10 00:14:46 +02:00
GitHub Actions Bot
e6f94019cd Mark non-release version 2023-06-09 21:56:59 +00:00
GitHub Actions Bot
d5bef098df Ship tag 5.16.1 2023-06-09 21:56:49 +00:00
Sören Weber
4026fba240
theme: add deprecation warnings #565 2023-06-09 23:42:03 +02:00
Sören Weber
882688711f
Merge branch 'takac-mermaid-front-matter-support' 2023-06-09 21:46:59 +02:00
Sören Weber
e77afd6b70
mermaid: allow for YAML frontmatter inside of graph #564 2023-06-09 21:45:57 +02:00
Sören Weber
59428415f2
Merge branch 'mermaid-front-matter-support' of https://github.com/takac/hugo-theme-relearn into takac-mermaid-front-matter-support 2023-06-09 20:36:28 +02:00
Sören Weber
ab67fcc80e
test: modularize config 2023-06-09 20:28:03 +02:00
Sören Weber
03b7ae392a
test: mute verbose output 2023-06-09 15:15:31 +02:00
Sören Weber
f3c1badb80
test: fix version detection 2023-06-09 15:08:50 +02:00
Tom Cammann
cb9cec76e3 Support yaml front matter in mermaid blocks
Mermaid diagrams can start with yaml front matter, e.g.
```
---
title: Example Diagram
---
graph LR
  A --> B
```

Relearn injects an init directive
`%%{init: {"theme":"default"}}%%` at the top of a mermaid block to
support theming the mermaid diagram. However this will cause a syntax
parser error in mermaid if the init directive comes before the yaml
front matter.

Valid:
```
%%{init: {"theme":"default"}}%%
graph LR
    A --> B
```
Invalid:
```
%%{init: {"theme":"default"}}%%
---
title: Example
---
graph LR
    A --> B
```

To support yaml front matter, we detect if front matter is used, and
inject the init directive after the front matter.

```
---
title: Example
---
%%{init: {"theme":"default"}}%%
graph LR
    A --> B
```
2023-06-09 11:52:23 +01:00
Sören Weber
35a4fd83ef
alias: fix redirect URLs in case of empty BaseURL #562 2023-06-09 11:11:18 +02:00
GitHub Actions Bot
e3ac6efd7c Mark non-release version 2023-06-08 16:04:10 +00:00
GitHub Actions Bot
e216d4614c Ship tag 5.16.0 2023-06-08 16:04:01 +00:00
Sören Weber
2f010f3944
test: add file list 2023-06-08 17:59:03 +02:00
Sören Weber
aaa25e1322
docs: restore favicon on publish 2023-06-08 17:16:28 +02:00
Sören Weber
5a2ffac7fc
tabs: fix false codify detection if only contained in subtabs #550 2023-06-08 16:45:30 +02:00
Sören Weber
efce383939
tabs: decrease contrast for tabs title #550 2023-06-08 15:23:55 +02:00
Sören Weber
d86973ae01
tabs: further tweaking of default color #550 2023-06-08 15:11:51 +02:00
Sören Weber
cef256eb40
tabs: allow codified tabs to be colored #550 2023-06-08 14:53:22 +02:00
Sören Weber
0a3662be61
tabs: increase contrast for non selected tab handles #550
and make default style darkish grey similar to other shortcodes
2023-06-08 14:36:28 +02:00
Sören Weber
310df3425f
icon: remove whitespace on start #560 2023-06-08 13:36:12 +02:00
Sören Weber
746e2e7d91
docs: simplify relref migration and fix it for fragments 2023-06-08 10:57:00 +02:00
Sören Weber
27d11a1c72
frontmatter: add new shortcode parameter #550 #551 2023-06-08 00:13:19 +02:00
Sören Weber
619e8846d4
docs: fine tuning 2023-06-08 00:10:37 +02:00
Sören Weber
f52639c9df
tab: format correctly when called as partial #550 2023-06-07 21:04:47 +02:00
Sören Weber
a5e6a30493
tabs: fix neon style #550 2023-06-07 20:17:17 +02:00
Sören Weber
25e39cfe34
tabs: fix style for indented code blocks #550 2023-06-07 20:16:59 +02:00
Sören Weber
822a913e83
tabs: fix borders for high dpi screens #550 2023-06-07 18:41:16 +02:00
Sören Weber
228ab819b9
docs: clarification 2023-06-06 20:38:50 +02:00
Sören Weber
7273ee75a7
docs: clarification 2023-06-06 20:35:03 +02:00
Sören Weber
9952cfb2da
tabs: fix issues with FF :has() selector #551 2023-06-06 20:29:02 +02:00
Sören Weber
a79f81322a
tabs: add title and icon option #552 2023-06-06 19:54:12 +02:00
Sören Weber
f50c362c8e
tabs: adjust tab handle styling #550 2023-06-06 18:15:08 +02:00
Sören Weber
67fe76a99c
shortcodes: add style option to mimic code box color scheme #551 2023-06-06 17:44:06 +02:00
Sören Weber
d39c0fb402
favicon: add light & dark option for OS's prefered color scheme #549 2023-06-06 01:36:37 +02:00
Sören Weber
cba1d38595
favicon: indention #549 2023-06-06 00:48:55 +02:00
Troy Lindsay
b705e0bde4 Loop through favicon types for selection
* https://github.com/McShelby/hugo-theme-relearn/pull/553#discussion_r1213705852
2023-06-06 00:37:57 +02:00
Troy Lindsay
4548d0162d Add light & dark theme SVG favicon option docs
* #549
2023-06-06 00:37:57 +02:00
Troy Lindsay
ad0378ae8f Add light & dark theme SVG favicon option
* #549
2023-06-06 00:37:57 +02:00
Sören Weber
9dc450a069
docs: add docs for new tab parameter #550 2023-06-06 00:31:57 +02:00
Sören Weber
84a884e353
docs: remove tabs deprecation warning #550 2023-06-05 23:20:37 +02:00
Sören Weber
d68a80d1d4
tabs: support color options #550 2023-06-05 23:18:12 +02:00
Sören Weber
aea9a54a08
tabs: colors for each tab in a set #550 2023-06-05 18:31:55 +02:00