diff options
| -rw-r--r-- | assets/css/_vars.scss | 2 | ||||
| -rw-r--r-- | content/index.md | 2 | ||||
| -rw-r--r-- | content/projects/emojis/index.md | 1 | ||||
| -rw-r--r-- | scripts/metadata_filter.lua | 2 | ||||
| -rw-r--r-- | templates/feed.xml | 8 |
5 files changed, 6 insertions, 9 deletions
diff --git a/assets/css/_vars.scss b/assets/css/_vars.scss index ca7abd3..eea1764 100644 --- a/assets/css/_vars.scss +++ b/assets/css/_vars.scss | |||
| @@ -22,7 +22,7 @@ $font-fam--large: 'Garet', $font-fam--text; | |||
| 22 | $font-fam--mono: 'Iosevka Term SS09', 'IBM Plex Mono', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', Courier, monospace; | 22 | $font-fam--mono: 'Iosevka Term SS09', 'IBM Plex Mono', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', Courier, monospace; |
| 23 | $font-size: 16px; | 23 | $font-size: 16px; |
| 24 | $line-height: 1.7; | 24 | $line-height: 1.7; |
| 25 | $content--width: 42rem; | 25 | $content--width: 46rem; |
| 26 | 26 | ||
| 27 | @include iro-execute { | 27 | @include iro-execute { |
| 28 | $gray0: hsl(220, 5%, 7%); | 28 | $gray0: hsl(220, 5%, 7%); |
diff --git a/content/index.md b/content/index.md index efc03c2..75efead 100644 --- a/content/index.md +++ b/content/index.md | |||
| @@ -2,4 +2,4 @@ | |||
| 2 | title: Volpeon's Den | 2 | title: Volpeon's Den |
| 3 | --- | 3 | --- |
| 4 | 4 | ||
| 5 | Hi, I'm Volpeon. I enjoy programming, creating vector art and designing user interfaces. | 5 | Hi, I'm Volpeon! I'm a software developer who creates vector art. |
diff --git a/content/projects/emojis/index.md b/content/projects/emojis/index.md index 58ad85b..2d15d7d 100644 --- a/content/projects/emojis/index.md +++ b/content/projects/emojis/index.md | |||
| @@ -2,4 +2,5 @@ | |||
| 2 | title: Emojis | 2 | title: Emojis |
| 3 | icon: smile | 3 | icon: smile |
| 4 | list_post_icon: icon-arrow-right | 4 | list_post_icon: icon-arrow-right |
| 5 | feed: true | ||
| 5 | --- | 6 | --- |
diff --git a/scripts/metadata_filter.lua b/scripts/metadata_filter.lua index ef4f44e..5a547ee 100644 --- a/scripts/metadata_filter.lua +++ b/scripts/metadata_filter.lua | |||
| @@ -52,7 +52,7 @@ function resolve_url(site_url, ref_file, target_file) | |||
| 52 | local ref_base_dir = path.directory(ref_file) | 52 | local ref_base_dir = path.directory(ref_file) |
| 53 | local abs = target_file | 53 | local abs = target_file |
| 54 | local rel = path.make_relative(abs, ref_base_dir, true) | 54 | local rel = path.make_relative(abs, ref_base_dir, true) |
| 55 | local full = (abs[1] == "/" and (site_url .. abs)) or abs | 55 | local full = (abs:sub(1, 1) == "/" and (site_url .. abs)) or abs |
| 56 | 56 | ||
| 57 | return { abs = abs, rel = rel, full = full } | 57 | return { abs = abs, rel = rel, full = full } |
| 58 | end | 58 | end |
diff --git a/templates/feed.xml b/templates/feed.xml index 22a86ac..cf9e359 100644 --- a/templates/feed.xml +++ b/templates/feed.xml | |||
| @@ -16,13 +16,9 @@ | |||
| 16 | 16 | ||
| 17 | $if(layout.is_categorized_list)$ | 17 | $if(layout.is_categorized_list)$ |
| 18 | $for(pages.date_desc)$ | 18 | $for(pages.date_desc)$ |
| 19 | $for(it.pages.date_desc)$ | 19 | $it.pages.date_desc:feed_entry()$ |
| 20 | $it:feed_entry()$ | ||
| 21 | $endfor$ | ||
| 22 | $endfor$ | 20 | $endfor$ |
| 23 | $else$ | 21 | $else$ |
| 24 | $for(pages.date_desc)$ | 22 | $pages.date_desc:feed_entry()$ |
| 25 | $it:feed_entry()$ | ||
| 26 | $endfor$ | ||
| 27 | $endif$ | 23 | $endif$ |
| 28 | </feed> | 24 | </feed> |
