diff options
Diffstat (limited to 'content')
| -rw-r--r-- | content/blog/test2/index.md (renamed from content/blog/test2/_index.md) | 0 | ||||
| -rw-r--r-- | content/index.md | 15 |
2 files changed, 15 insertions, 0 deletions
diff --git a/content/blog/test2/_index.md b/content/blog/test2/index.md index 9d1ebd2..9d1ebd2 100644 --- a/content/blog/test2/_index.md +++ b/content/blog/test2/index.md | |||
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 | ||
| 13 | Welcome to my website! I'm Volpeon and here's an [inline link](#d). | 13 | Welcome to my website! I'm Volpeon and here's an [inline link](#d). |
| 14 | 14 | ||
| 15 | ```lua | ||
| 16 | function 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 | ||
| 25 | end | ||
| 26 | ``` | ||
| 27 | |||
| 28 | Welcome 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 |
