diff options
author | Volpeon <git@volpeon.ink> | 2021-01-02 16:47:15 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-01-02 16:47:15 +0100 |
commit | 14375c5289e84690cacd0ec9b511cefef088f0a5 (patch) | |
tree | 6465075e5255be2851a7678d1a629ed23cd810b3 /content | |
parent | Small design revisions (diff) | |
download | volpeon.ink-14375c5289e84690cacd0ec9b511cefef088f0a5.tar.gz volpeon.ink-14375c5289e84690cacd0ec9b511cefef088f0a5.tar.bz2 volpeon.ink-14375c5289e84690cacd0ec9b511cefef088f0a5.zip |
Use Pygments for syntax highlighting, design adjustments, preload fonts
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 |