summaryrefslogtreecommitdiffstats
path: root/content/index.md
diff options
context:
space:
mode:
Diffstat (limited to 'content/index.md')
-rw-r--r--content/index.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/content/index.md b/content/index.md
index 8c49e44..3d2462c 100644
--- a/content/index.md
+++ b/content/index.md
@@ -12,6 +12,21 @@ Welcome to my website! I'm Volpeon and here's an [inline link](#c).
12 12
13Welcome to my website! I'm Volpeon and here's an [inline link](#d). 13Welcome to my website! I'm Volpeon and here's an [inline link](#d).
14 14
15```lua
16function Header(el)
17 if el.level == 1 then
18 el.classes = el.classes .. {'c-page__prefixed', 'c-page__prefixed--h1'}
19 elseif el.level == 2 then
20 el.classes = el.classes .. {'c-page__prefixed', 'c-page__prefixed--h2'}
21 elseif el.level == 3 then
22 el.classes = el.classes .. {'c-page__prefixed', 'c-page__prefixed--h3'}
23 end
24 return el
25end
26```
27
28Welcome to my website! I'm Volpeon and here's an [inline link](#e).
29
15## Subtitle 30## Subtitle
16 31
17### Last one 32### Last one