summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-11-15 17:14:27 +0100
committerVolpeon <git@volpeon.ink>2021-11-15 17:14:27 +0100
commita2aa0c0a6261850800d97e735adad9b02236f1e3 (patch)
tree91ad486c0ccdbb1e1cd92a27dcfad504bcce7fca
parentMove ASCII fox to partials (diff)
downloadvolpeon.ink-a2aa0c0a6261850800d97e735adad9b02236f1e3.tar.gz
volpeon.ink-a2aa0c0a6261850800d97e735adad9b02236f1e3.tar.bz2
volpeon.ink-a2aa0c0a6261850800d97e735adad9b02236f1e3.zip
Various adjustments
-rw-r--r--Makefile2
-rw-r--r--assets/css/components/_card.scss18
-rw-r--r--content/9thPK7O3xn/dreams/index.md2
-rw-r--r--content/9thPK7O3xn/index.md8
-rw-r--r--content/9thPK7O3xn/misc/index.md6
-rw-r--r--content/9thPK7O3xn/pages/design-test.md (renamed from content/9thPK7O3xn/misc/design-test.md)6
-rw-r--r--content/9thPK7O3xn/pages/index.md2
-rw-r--r--content/docs/index.md4
-rw-r--r--scripts/metadata_filter.lua2
-rw-r--r--templates/base.html17
10 files changed, 29 insertions, 38 deletions
diff --git a/Makefile b/Makefile
index 1cf364e..1c0b52f 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ PANDOC_FILTERS := $(patsubst %,--lua-filter %,$(wildcard filters/*.lua))
10GLOBAL_METADATA := $(patsubst %,--metadata-file %,$(wildcard metadata/*.yaml)) 10GLOBAL_METADATA := $(patsubst %,--metadata-file %,$(wildcard metadata/*.yaml))
11 11
12CONTENT_SRC := $(shell find content -type f -name "*.md") 12CONTENT_SRC := $(shell find content -type f -name "*.md")
13FEED_SRC := $(shell grep -l "^create_feed: *true$$" $(CONTENT_SRC)) 13FEED_SRC := $(shell grep -l "^feed: *true$$" $(CONTENT_SRC))
14CONTENT_TEMPLATES_SRC := $(shell find templates -type f -name "*.html") 14CONTENT_TEMPLATES_SRC := $(shell find templates -type f -name "*.html")
15FEED_TEMPLATES_SRC := $(shell find templates -type f -name "*.xml") 15FEED_TEMPLATES_SRC := $(shell find templates -type f -name "*.xml")
16CSS_SRC := $(shell find assets/css -type f -name "*.scss") 16CSS_SRC := $(shell find assets/css -type f -name "*.scss")
diff --git a/assets/css/components/_card.scss b/assets/css/components/_card.scss
index 0a64f1f..c1d58db 100644
--- a/assets/css/components/_card.scss
+++ b/assets/css/components/_card.scss
@@ -1,14 +1,5 @@
1@include namespace('card') { 1@include namespace('card') {
2 @include store(( 2 @include store((
3 --dims: (
4 --pad-x: 1.1em,
5 --pad-y: .8em,
6 --hover-offset: -.3rem,
7 --indicator: (
8 --width: 1em,
9 --height: 4px,
10 ),
11 ),
12 --colors: ( 3 --colors: (
13 --bg: prop(--colors --bg-lo, $global: true), 4 --bg: prop(--colors --bg-lo, $global: true),
14 --fg: prop(--colors --fg, $global: true), 5 --fg: prop(--colors --fg, $global: true),
@@ -18,6 +9,15 @@
18 --bg: prop(--colors --fg-lo, $global: true), 9 --bg: prop(--colors --fg-lo, $global: true),
19 --fg: prop(--colors --bg-hi, $global: true), 10 --fg: prop(--colors --bg-hi, $global: true),
20 ), 11 ),
12 ),
13 --dims: (
14 --pad-x: 1.1em,
15 --pad-y: .8em,
16 --hover-offset: -.3rem,
17 --indicator: (
18 --width: 1em,
19 --height: 4px,
20 ),
21 ) 21 )
22 )); 22 ));
23 23
diff --git a/content/9thPK7O3xn/dreams/index.md b/content/9thPK7O3xn/dreams/index.md
index c89aad4..dde66b0 100644
--- a/content/9thPK7O3xn/dreams/index.md
+++ b/content/9thPK7O3xn/dreams/index.md
@@ -3,5 +3,5 @@ title: Dream Journal
3position: 9 3position: 9
4list_order: date_desc 4list_order: date_desc
5list_read_indicators: true 5list_read_indicators: true
6create_feed: true 6feed: true
7--- 7---
diff --git a/content/9thPK7O3xn/index.md b/content/9thPK7O3xn/index.md
index 52ceada..58272fb 100644
--- a/content/9thPK7O3xn/index.md
+++ b/content/9thPK7O3xn/index.md
@@ -1,8 +1,8 @@
1--- 1---
2title: Personal 2title: Personal
3unlisted: true 3unlisted: true
4create_feed: true 4feed: true
5--- 5---
6 6
7Welcome to the personal section of my website! 7Welcome to the personal section of my website!
8Here you will find content that doesn't belong in the public sections of my website, such as layout and design tests or pages about more personal topics. 8Here you will find content that doesn't belong in the public sections of my website such as test pages or essays about more personal topics.
diff --git a/content/9thPK7O3xn/misc/index.md b/content/9thPK7O3xn/misc/index.md
deleted file mode 100644
index d39ae3f..0000000
--- a/content/9thPK7O3xn/misc/index.md
+++ /dev/null
@@ -1,6 +0,0 @@
1---
2title: Other stuff
3position: 10
4list_read_indicators: true
5create_feed: true
6---
diff --git a/content/9thPK7O3xn/misc/design-test.md b/content/9thPK7O3xn/pages/design-test.md
index edf8ae2..2367513 100644
--- a/content/9thPK7O3xn/misc/design-test.md
+++ b/content/9thPK7O3xn/pages/design-test.md
@@ -1,5 +1,5 @@
1--- 1---
2title: "Design Test: Markdown Syntax" 2title: Design Test
3--- 3---
4 4
5- [Overview](#overview) 5- [Overview](#overview)
@@ -15,10 +15,6 @@ title: "Design Test: Markdown Syntax"
15 - [Emphasis](#emphasis) 15 - [Emphasis](#emphasis)
16 - [Code](#code) 16 - [Code](#code)
17 17
18
19**Note:** This document is itself written using Markdown; you
20can [see the source for it by adding '.text' to the URL](/projects/markdown/syntax.text).
21
22---- 18----
23 19
24## Overview 20## Overview
diff --git a/content/9thPK7O3xn/pages/index.md b/content/9thPK7O3xn/pages/index.md
index 33818ff..4c42948 100644
--- a/content/9thPK7O3xn/pages/index.md
+++ b/content/9thPK7O3xn/pages/index.md
@@ -2,5 +2,5 @@
2title: Pages 2title: Pages
3position: 0 3position: 0
4list_read_indicators: true 4list_read_indicators: true
5create_feed: true 5feed: true
6--- 6---
diff --git a/content/docs/index.md b/content/docs/index.md
new file mode 100644
index 0000000..d02c2a8
--- /dev/null
+++ b/content/docs/index.md
@@ -0,0 +1,4 @@
1---
2title: Documents
3position: 3
4---
diff --git a/scripts/metadata_filter.lua b/scripts/metadata_filter.lua
index fefb1ce..ef4f44e 100644
--- a/scripts/metadata_filter.lua
+++ b/scripts/metadata_filter.lua
@@ -267,7 +267,7 @@ function process(global, parent, meta)
267 if meta.list_order then meta.list_order = pandoc.utils.stringify(meta.list_order) end 267 if meta.list_order then meta.list_order = pandoc.utils.stringify(meta.list_order) end
268 if meta.position then meta.position = pandoc.utils.stringify(meta.position) end 268 if meta.position then meta.position = pandoc.utils.stringify(meta.position) end
269 269
270 if meta.create_feed then 270 if meta.feed then
271 if meta.file_out:match(".html$") then 271 if meta.file_out:match(".html$") then
272 meta.feed = { 272 meta.feed = {
273 url = resolve_url(global.site.url, global.file_out, 273 url = resolve_url(global.site.url, global.file_out,
diff --git a/templates/base.html b/templates/base.html
index adc5466..64e6b00 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -53,16 +53,13 @@
53 <use href="/symbols.svg#logo"></use> 53 <use href="/symbols.svg#logo"></use>
54 </svg> 54 </svg>
55 </a> 55 </a>
56 $if(namespace.root.is_index)$ 56 $for(menus.main.items)$
57 $else$ 57 $if(it.active)$
58 $for(menus.main.items)$ 58 <a class="c-header__item" href="$it.url$">
59 $if(it.active)$ 59 $it.label$
60 <a class="c-header__item" href="$it.url$"> 60 </a>
61 $it.label$ 61 $endif$
62 </a> 62 $endfor$
63 $endif$
64 $endfor$
65 $endif$
66 </nav> 63 </nav>
67 64
68 <main> 65 <main>