diff options
-rw-r--r-- | content/9thPK7O3xn/dreams/index.md | 4 | ||||
-rw-r--r-- | content/9thPK7O3xn/dreams/infinite-skyscrapers.md (renamed from content/9thPK7O3xn/dre-infinite-skyscrapers.md) | 5 | ||||
-rw-r--r-- | content/9thPK7O3xn/misc/design-test.md (renamed from content/9thPK7O3xn/mis-design-test.md) | 3 | ||||
-rw-r--r-- | content/9thPK7O3xn/misc/index.md | 3 | ||||
-rw-r--r-- | content/projects/emojis/blobfox/.preview.xcf (renamed from content/projects/blobfox-emojis/.preview.xcf) | bin | 12710447 -> 12710447 bytes | |||
-rw-r--r-- | content/projects/emojis/blobfox/LICENSE (renamed from content/projects/blobfox-emojis/LICENSE) | 0 | ||||
-rw-r--r-- | content/projects/emojis/blobfox/blobfox.json (renamed from content/projects/blobfox-emojis/blobfox.json) | 0 | ||||
-rw-r--r-- | content/projects/emojis/blobfox/blobfox.tar.gz (renamed from content/projects/blobfox-emojis/blobfox.tar.gz) | bin | 3371355 -> 3371355 bytes | |||
-rw-r--r-- | content/projects/emojis/blobfox/blobfox_flip.json (renamed from content/projects/blobfox-emojis/blobfox_flip.json) | 0 | ||||
-rw-r--r-- | content/projects/emojis/blobfox/blobfox_flip.tar.gz (renamed from content/projects/blobfox-emojis/blobfox_flip.tar.gz) | bin | 3525313 -> 3525313 bytes | |||
-rw-r--r-- | content/projects/emojis/blobfox/index.md (renamed from content/projects/blobfox-emojis/index.md) | 0 | ||||
-rw-r--r-- | content/projects/emojis/blobfox/manifest.json (renamed from content/projects/blobfox-emojis/manifest.json) | 0 | ||||
-rw-r--r-- | content/projects/emojis/blobfox/preview.jpg (renamed from content/projects/blobfox-emojis/preview.jpg) | bin | 65597 -> 65597 bytes | |||
-rw-r--r-- | content/projects/emojis/blobfox/screenshot.png (renamed from content/projects/blobfox-emojis/screenshot.png) | bin | 175240 -> 175240 bytes | |||
-rw-r--r-- | content/projects/emojis/bunhd/.preview.svg (renamed from content/projects/bunhd-emojis/.preview.svg) | 0 | ||||
-rw-r--r-- | content/projects/emojis/bunhd/LICENSE (renamed from content/projects/bunhd-emojis/LICENSE) | 0 | ||||
-rw-r--r-- | content/projects/emojis/bunhd/bunhd.json (renamed from content/projects/bunhd-emojis/bunhd.json) | 0 | ||||
-rw-r--r-- | content/projects/emojis/bunhd/bunhd.zip (renamed from content/projects/bunhd-emojis/bunhd.zip) | bin | 388763 -> 388763 bytes | |||
-rw-r--r-- | content/projects/emojis/bunhd/bunhd_flip.json (renamed from content/projects/bunhd-emojis/bunhd_flip.json) | 0 | ||||
-rw-r--r-- | content/projects/emojis/bunhd/bunhd_flip.zip (renamed from content/projects/bunhd-emojis/bunhd_flip.zip) | bin | 380820 -> 380820 bytes | |||
-rw-r--r-- | content/projects/emojis/bunhd/index.md (renamed from content/projects/bunhd-emojis/index.md) | 0 | ||||
-rw-r--r-- | content/projects/emojis/bunhd/manifest.json (renamed from content/projects/bunhd-emojis/manifest.json) | 0 | ||||
-rw-r--r-- | content/projects/emojis/bunhd/preview.png (renamed from content/projects/bunhd-emojis/preview.png) | bin | 29356 -> 29356 bytes | |||
-rw-r--r-- | content/projects/emojis/bunhd/screenshot.png (renamed from content/projects/bunhd-emojis/screenshot.png) | bin | 97627 -> 97627 bytes | |||
-rw-r--r-- | content/projects/emojis/index.md | 4 | ||||
-rw-r--r-- | metadata/metadata.yaml | 13 | ||||
-rw-r--r-- | scripts/metadata_filter.lua | 11 | ||||
-rw-r--r-- | templates/layouts/categorized_list.html | 6 | ||||
-rw-r--r-- | templates/layouts/index.html | 34 |
29 files changed, 35 insertions, 48 deletions
diff --git a/content/9thPK7O3xn/dreams/index.md b/content/9thPK7O3xn/dreams/index.md new file mode 100644 index 0000000..a204f42 --- /dev/null +++ b/content/9thPK7O3xn/dreams/index.md | |||
@@ -0,0 +1,4 @@ | |||
1 | --- | ||
2 | title: Dream Journal | ||
3 | show_dates: true | ||
4 | --- | ||
diff --git a/content/9thPK7O3xn/dre-infinite-skyscrapers.md b/content/9thPK7O3xn/dreams/infinite-skyscrapers.md index 32f34ab..eb3485b 100644 --- a/content/9thPK7O3xn/dre-infinite-skyscrapers.md +++ b/content/9thPK7O3xn/dreams/infinite-skyscrapers.md | |||
@@ -1,7 +1,6 @@ | |||
1 | --- | 1 | --- |
2 | date: 2021-01-09 | 2 | date: 2021-01-09 |
3 | title: Infinite Skyscrapers | 3 | title: Infinite Skyscrapers |
4 | category: dreams | ||
5 | --- | 4 | --- |
6 | 5 | ||
7 | I'm in some strange world that consist of huge buildings, looking a lot like very simple skyscrapers, except they were all interconnected. | 6 | I'm in some strange world that consist of huge buildings, looking a lot like very simple skyscrapers, except they were all interconnected. |
diff --git a/content/9thPK7O3xn/mis-design-test.md b/content/9thPK7O3xn/misc/design-test.md index a822388..edf8ae2 100644 --- a/content/9thPK7O3xn/mis-design-test.md +++ b/content/9thPK7O3xn/misc/design-test.md | |||
@@ -1,6 +1,5 @@ | |||
1 | --- | 1 | --- |
2 | title: "Design Test: Markdown Syntax" | 2 | title: "Design Test: Markdown Syntax" |
3 | category: misc | ||
4 | --- | 3 | --- |
5 | 4 | ||
6 | - [Overview](#overview) | 5 | - [Overview](#overview) |
diff --git a/content/9thPK7O3xn/misc/index.md b/content/9thPK7O3xn/misc/index.md new file mode 100644 index 0000000..24cd717 --- /dev/null +++ b/content/9thPK7O3xn/misc/index.md | |||
@@ -0,0 +1,3 @@ | |||
1 | --- | ||
2 | title: Other stuff | ||
3 | --- | ||
diff --git a/content/projects/blobfox-emojis/.preview.xcf b/content/projects/emojis/blobfox/.preview.xcf index 885455b..885455b 100644 --- a/content/projects/blobfox-emojis/.preview.xcf +++ b/content/projects/emojis/blobfox/.preview.xcf | |||
Binary files differ | |||
diff --git a/content/projects/blobfox-emojis/LICENSE b/content/projects/emojis/blobfox/LICENSE index 5238b5a..5238b5a 100644 --- a/content/projects/blobfox-emojis/LICENSE +++ b/content/projects/emojis/blobfox/LICENSE | |||
diff --git a/content/projects/blobfox-emojis/blobfox.json b/content/projects/emojis/blobfox/blobfox.json index 451b794..451b794 100644 --- a/content/projects/blobfox-emojis/blobfox.json +++ b/content/projects/emojis/blobfox/blobfox.json | |||
diff --git a/content/projects/blobfox-emojis/blobfox.tar.gz b/content/projects/emojis/blobfox/blobfox.tar.gz index 1cbcd82..1cbcd82 100644 --- a/content/projects/blobfox-emojis/blobfox.tar.gz +++ b/content/projects/emojis/blobfox/blobfox.tar.gz | |||
Binary files differ | |||
diff --git a/content/projects/blobfox-emojis/blobfox_flip.json b/content/projects/emojis/blobfox/blobfox_flip.json index 9b72c0d..9b72c0d 100644 --- a/content/projects/blobfox-emojis/blobfox_flip.json +++ b/content/projects/emojis/blobfox/blobfox_flip.json | |||
diff --git a/content/projects/blobfox-emojis/blobfox_flip.tar.gz b/content/projects/emojis/blobfox/blobfox_flip.tar.gz index da8a43f..da8a43f 100644 --- a/content/projects/blobfox-emojis/blobfox_flip.tar.gz +++ b/content/projects/emojis/blobfox/blobfox_flip.tar.gz | |||
Binary files differ | |||
diff --git a/content/projects/blobfox-emojis/index.md b/content/projects/emojis/blobfox/index.md index 5a4fff1..5a4fff1 100644 --- a/content/projects/blobfox-emojis/index.md +++ b/content/projects/emojis/blobfox/index.md | |||
diff --git a/content/projects/blobfox-emojis/manifest.json b/content/projects/emojis/blobfox/manifest.json index 3a70695..3a70695 100644 --- a/content/projects/blobfox-emojis/manifest.json +++ b/content/projects/emojis/blobfox/manifest.json | |||
diff --git a/content/projects/blobfox-emojis/preview.jpg b/content/projects/emojis/blobfox/preview.jpg index dc9e989..dc9e989 100644 --- a/content/projects/blobfox-emojis/preview.jpg +++ b/content/projects/emojis/blobfox/preview.jpg | |||
Binary files differ | |||
diff --git a/content/projects/blobfox-emojis/screenshot.png b/content/projects/emojis/blobfox/screenshot.png index d4c228d..d4c228d 100644 --- a/content/projects/blobfox-emojis/screenshot.png +++ b/content/projects/emojis/blobfox/screenshot.png | |||
Binary files differ | |||
diff --git a/content/projects/bunhd-emojis/.preview.svg b/content/projects/emojis/bunhd/.preview.svg index 4997e45..4997e45 100644 --- a/content/projects/bunhd-emojis/.preview.svg +++ b/content/projects/emojis/bunhd/.preview.svg | |||
diff --git a/content/projects/bunhd-emojis/LICENSE b/content/projects/emojis/bunhd/LICENSE index 5238b5a..5238b5a 100644 --- a/content/projects/bunhd-emojis/LICENSE +++ b/content/projects/emojis/bunhd/LICENSE | |||
diff --git a/content/projects/bunhd-emojis/bunhd.json b/content/projects/emojis/bunhd/bunhd.json index 8eec78b..8eec78b 100644 --- a/content/projects/bunhd-emojis/bunhd.json +++ b/content/projects/emojis/bunhd/bunhd.json | |||
diff --git a/content/projects/bunhd-emojis/bunhd.zip b/content/projects/emojis/bunhd/bunhd.zip index a012f27..a012f27 100644 --- a/content/projects/bunhd-emojis/bunhd.zip +++ b/content/projects/emojis/bunhd/bunhd.zip | |||
Binary files differ | |||
diff --git a/content/projects/bunhd-emojis/bunhd_flip.json b/content/projects/emojis/bunhd/bunhd_flip.json index f484c0f..f484c0f 100644 --- a/content/projects/bunhd-emojis/bunhd_flip.json +++ b/content/projects/emojis/bunhd/bunhd_flip.json | |||
diff --git a/content/projects/bunhd-emojis/bunhd_flip.zip b/content/projects/emojis/bunhd/bunhd_flip.zip index 8ca8735..8ca8735 100644 --- a/content/projects/bunhd-emojis/bunhd_flip.zip +++ b/content/projects/emojis/bunhd/bunhd_flip.zip | |||
Binary files differ | |||
diff --git a/content/projects/bunhd-emojis/index.md b/content/projects/emojis/bunhd/index.md index 94278c1..94278c1 100644 --- a/content/projects/bunhd-emojis/index.md +++ b/content/projects/emojis/bunhd/index.md | |||
diff --git a/content/projects/bunhd-emojis/manifest.json b/content/projects/emojis/bunhd/manifest.json index 9fd855b..9fd855b 100644 --- a/content/projects/bunhd-emojis/manifest.json +++ b/content/projects/emojis/bunhd/manifest.json | |||
diff --git a/content/projects/bunhd-emojis/preview.png b/content/projects/emojis/bunhd/preview.png index 75d8cec..75d8cec 100644 --- a/content/projects/bunhd-emojis/preview.png +++ b/content/projects/emojis/bunhd/preview.png | |||
Binary files differ | |||
diff --git a/content/projects/bunhd-emojis/screenshot.png b/content/projects/emojis/bunhd/screenshot.png index 7c54221..7c54221 100644 --- a/content/projects/bunhd-emojis/screenshot.png +++ b/content/projects/emojis/bunhd/screenshot.png | |||
Binary files differ | |||
diff --git a/content/projects/emojis/index.md b/content/projects/emojis/index.md new file mode 100644 index 0000000..cbffe1b --- /dev/null +++ b/content/projects/emojis/index.md | |||
@@ -0,0 +1,4 @@ | |||
1 | --- | ||
2 | title: Emojis | ||
3 | icon: smile | ||
4 | --- | ||
diff --git a/metadata/metadata.yaml b/metadata/metadata.yaml index 2faa0c4..98a132d 100644 --- a/metadata/metadata.yaml +++ b/metadata/metadata.yaml | |||
@@ -16,19 +16,6 @@ menus: | |||
16 | url: /9thPK7O3xn/ | 16 | url: /9thPK7O3xn/ |
17 | hidden: true | 17 | hidden: true |
18 | 18 | ||
19 | categories: | ||
20 | 9thPK7O3xn: | ||
21 | dreams: | ||
22 | name: Dream Journal | ||
23 | show_date: true | ||
24 | misc: | ||
25 | name: Other stuff | ||
26 | |||
27 | projects: | ||
28 | emojis: | ||
29 | name: Emojis | ||
30 | icon: smile | ||
31 | |||
32 | profiles: | 19 | profiles: |
33 | - platform: Bandcamp | 20 | - platform: Bandcamp |
34 | icon: parallelogram | 21 | icon: parallelogram |
diff --git a/scripts/metadata_filter.lua b/scripts/metadata_filter.lua index 914cd09..000fda6 100644 --- a/scripts/metadata_filter.lua +++ b/scripts/metadata_filter.lua | |||
@@ -120,15 +120,6 @@ function resolve_namespace(namespace) | |||
120 | return {root = {id = root, ["is_" .. root] = true}, full = namespace} | 120 | return {root = {id = root, ["is_" .. root] = true}, full = namespace} |
121 | end | 121 | end |
122 | 122 | ||
123 | function resolve_category(categories, category) | ||
124 | if categories and category then | ||
125 | category = pandoc.utils.stringify(category) | ||
126 | data = categories[category] | ||
127 | data.id = category | ||
128 | return data | ||
129 | end | ||
130 | end | ||
131 | |||
132 | function prep_menu(active_id, main_menu) | 123 | function prep_menu(active_id, main_menu) |
133 | local active_item = nil | 124 | local active_item = nil |
134 | 125 | ||
@@ -208,8 +199,6 @@ function process(global, meta) | |||
208 | meta.last_update = meta.date | 199 | meta.last_update = meta.date |
209 | end | 200 | end |
210 | 201 | ||
211 | meta.category = resolve_category(global.categories[meta.namespace.root.id], meta.category) | ||
212 | |||
213 | if meta.menus and meta.menus.main then | 202 | if meta.menus and meta.menus.main then |
214 | meta.menus.main = prep_menu(meta.namespace.root.id, meta.menus.main) | 203 | meta.menus.main = prep_menu(meta.namespace.root.id, meta.menus.main) |
215 | end | 204 | end |
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index 898c011..153ef99 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html | |||
@@ -7,12 +7,12 @@ $body$ | |||
7 | </div> | 7 | </div> |
8 | 8 | ||
9 | <div class="c-post-list"> | 9 | <div class="c-post-list"> |
10 | $for(pages.by_category)$ | 10 | $for(pages.all)$ |
11 | <h2 class="c-post-list__category-header"> | 11 | <h2 class="c-post-list__category-header"> |
12 | $it.name$ | 12 | $it.title$ |
13 | </h2> | 13 | </h2> |
14 | <div class="c-post-list__category-content"> | 14 | <div class="c-post-list__category-content"> |
15 | $for(it.pages)$ | 15 | $for(it.pages.all)$ |
16 | <a href="$it.url.rel$" class="c-post-list__post c-card"> | 16 | <a href="$it.url.rel$" class="c-post-list__post c-card"> |
17 | <div class="c-card__content"> | 17 | <div class="c-card__content"> |
18 | $it.title$ | 18 | $it.title$ |
diff --git a/templates/layouts/index.html b/templates/layouts/index.html index 204c31b..8eeeb03 100644 --- a/templates/layouts/index.html +++ b/templates/layouts/index.html | |||
@@ -66,25 +66,27 @@ $body$ | |||
66 | 66 | ||
67 | <div class="l-container l-container--pad-x l-container--pad-y l-project-grid"> | 67 | <div class="l-container l-container--pad-x l-container--pad-y l-project-grid"> |
68 | $for(pages.by_id.projects.pages.all)$ | 68 | $for(pages.by_id.projects.pages.all)$ |
69 | <a class="l-project-grid__project c-project" href="$it.url.rel$"> | 69 | $for(it.pages.all)$ |
70 | $if(it.preview)$ | 70 | <a class="l-project-grid__project c-project" href="$it.url.rel$"> |
71 | <img class="c-project__picture" src="$it.preview.rel$" /> | 71 | $if(it.preview)$ |
72 | $endif$ | 72 | <img class="c-project__picture" src="$it.preview.rel$" /> |
73 | <div class="c-project__card c-card"> | 73 | $endif$ |
74 | $if(it.category.icon)$ | 74 | <div class="c-project__card c-card"> |
75 | $if(pages.by_id.projects.pages.all.icon)$ | ||
76 | <svg class="c-card__icon o-icon"> | ||
77 | <use href="/symbols.svg#icon-$pages.by_id.projects.pages.all.icon$"></use> | ||
78 | </svg> | ||
79 | $endif$ | ||
80 | <div class="c-card__content"> | ||
81 | <small class="u-db">$pages.by_id.projects.pages.all.title$</small> | ||
82 | <strong class="u-db">$it.title$</strong> | ||
83 | </div> | ||
75 | <svg class="c-card__icon o-icon"> | 84 | <svg class="c-card__icon o-icon"> |
76 | <use href="/symbols.svg#icon-$it.category.icon$"></use> | 85 | <use href="/symbols.svg#icon-arrow-right"></use> |
77 | </svg> | 86 | </svg> |
78 | $endif$ | ||
79 | <div class="c-card__content"> | ||
80 | <small class="u-db">$it.category.name$</small> | ||
81 | <strong class="u-db">$it.title$</strong> | ||
82 | </div> | 87 | </div> |
83 | <svg class="c-card__icon o-icon"> | 88 | </a> |
84 | <use href="/symbols.svg#icon-arrow-right"></use> | 89 | $endfor$ |
85 | </svg> | ||
86 | </div> | ||
87 | </a> | ||
88 | $endfor$ | 90 | $endfor$ |
89 | </div> | 91 | </div> |
90 | </section> | 92 | </section> |