summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-01-24 17:55:58 +0100
committerVolpeon <git@volpeon.ink>2021-01-24 17:55:58 +0100
commitcd0229805c4a2913986b3672dd091dd3daba53a5 (patch)
tree7c67121197340c5741b99a0aefe2bccce72bedd1
parentReplace blogs with notebooks (i.e. no dates, grouped by category) (diff)
downloadvolpeon.ink-cd0229805c4a2913986b3672dd091dd3daba53a5.tar.gz
volpeon.ink-cd0229805c4a2913986b3672dd091dd3daba53a5.tar.bz2
volpeon.ink-cd0229805c4a2913986b3672dd091dd3daba53a5.zip
Various small fixes
-rw-r--r--content/index.js6
-rw-r--r--content/index.md12
-rw-r--r--content/personal/index.md (renamed from content/pers_notebook/index.md)0
-rw-r--r--content/personal/infinite-skyscrapers.md (renamed from content/pers_notebook/infinite-skyscrapers.md)0
-rw-r--r--metadata/metadata.yaml10
-rw-r--r--templates/base.html2
-rw-r--r--templates/layouts/dated_list.html25
-rw-r--r--templates/layouts/index.html9
8 files changed, 20 insertions, 44 deletions
diff --git a/content/index.js b/content/index.js
new file mode 100644
index 0000000..8a24e3a
--- /dev/null
+++ b/content/index.js
@@ -0,0 +1,6 @@
1var headerEl = document.querySelector(".c-hero");
2var headerTemplateEl = document.getElementById("header-sm");
3var headerSmEl = headerTemplateEl.content.cloneNode("true");
4
5headerEl.classList.remove("u-hidden@sm-down");
6headerEl.appendChild(headerSmEl);
diff --git a/content/index.md b/content/index.md
index ebd3ff4..2ee304a 100644
--- a/content/index.md
+++ b/content/index.md
@@ -8,15 +8,19 @@ Welcome to my website! I'm Volpeon, a red fox doing human things such as program
8 8
9## Find me 9## Find me
10 10
11Here's a complete list of my profiles on other platforms: 11Here's a complete list of my profiles on other platforms.
12It helps you find me elsewhere and it serves as a proof that those profiles are legitimately mine.
13I'll make sure to keep this list up-to-date.
12 14
13- **Bandcamp:** [volpeon](https://bandcamp.com/volpeon) 15- **Bandcamp:** [volpeon](https://bandcamp.com/volpeon)
14- **Email:** me@volpeon.ink 16- **Email:** me@volpeon.ink
15- **Fediverse:** @volpeon@fedi.vulpes.one 17- **Fediverse:** @volpeon@fedi.vulpes.one
16- **GitHub:** [volpeon](https://github.com/volpeon) 18- **GitHub:** [volpeon](https://github.com/volpeon)
17- **IRC - Furnet:** volpeon 19- **IRC:** volpeon on [Furnet](irc://irc.furnet.org:6667), [Freenode](irc://chat.freenode.net:6697)
18- **IRC - Freenode:** volpeon
19- **Steam:** [volpeon](https://steamcommunity.com/id/volpeon/) 20- **Steam:** [volpeon](https://steamcommunity.com/id/volpeon/)
20- **XMPP:** &lt;available&gt; 21- **XMPP:** &lt;available&gt;
21 22
22If you see someone with my username, you'll know it's me if their profile is listed here. I'll make sure to keep this list up-to-date. 23## OMEMO Fingerprints
24
25CB07051B E223EF70 8EE8F665 BBFCEF00 83415C45 DCA31906 F2362543 F5543449
2610784066 5EACA2E2 FCC426E2 5FE1DCA7 CC8C2A99 E8CFD941 FB0287AF 2B673F1B
diff --git a/content/pers_notebook/index.md b/content/personal/index.md
index 235ae57..235ae57 100644
--- a/content/pers_notebook/index.md
+++ b/content/personal/index.md
diff --git a/content/pers_notebook/infinite-skyscrapers.md b/content/personal/infinite-skyscrapers.md
index 909ecce..909ecce 100644
--- a/content/pers_notebook/infinite-skyscrapers.md
+++ b/content/personal/infinite-skyscrapers.md
diff --git a/metadata/metadata.yaml b/metadata/metadata.yaml
index 522896d..c5f7b4d 100644
--- a/metadata/metadata.yaml
+++ b/metadata/metadata.yaml
@@ -15,10 +15,10 @@ menus:
15 label: Notebook 15 label: Notebook
16 url: /notebook/ 16 url: /notebook/
17 hidden: true 17 hidden: true
18 - id: pers_notebook 18 - id: personal
19 label: Personal 19 label: Personal
20 label_long: Personal Notebook 20 label_long: Personal Notebook
21 url: /pers_notebook/ 21 url: /personal/
22 hidden: true 22 hidden: true
23 23
24feeds: 24feeds:
@@ -26,10 +26,10 @@ feeds:
26 url: /notebook/index.xml 26 url: /notebook/index.xml
27 27
28categories: 28categories:
29 pers_notebook: 29 personal:
30 dre: Dream Journal 30 dre: Dreams
31 31
32rewrites: 32rewrites:
33 path: 33 path:
34 - from: ^/pers_notebook 34 - from: ^/personal
35 to: /9thPK7O3xn 35 to: /9thPK7O3xn
diff --git a/templates/base.html b/templates/base.html
index 3afa0f0..49b2285 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -47,8 +47,6 @@
47 47
48 $if(section.is_index)$ 48 $if(section.is_index)$
49${layouts/index()} 49${layouts/index()}
50 $elseif(layout.is_dated_list)$
51${layouts/dated_list()}
52 $elseif(layout.is_categorized_list)$ 50 $elseif(layout.is_categorized_list)$
53${layouts/categorized_list()} 51${layouts/categorized_list()}
54 $else$ 52 $else$
diff --git a/templates/layouts/dated_list.html b/templates/layouts/dated_list.html
deleted file mode 100644
index 8c5de69..0000000
--- a/templates/layouts/dated_list.html
+++ /dev/null
@@ -1,25 +0,0 @@
1<main class="c-page s-page l-container l-container--content l-container--pad-v">
2 <div class="c-page__content">
3 <h1 class="c-page__prefixed c-page__prefixed--h1">$title$</h1>
4$body$
5
6 $if(categories)$
7 <ul class="c-hlist">
8 $for(categories)$
9 <li class="c-hlist__item"><strong>$it.key/uppercase$</strong> $it.value.name$</li>
10 $endfor$
11 </ul>
12 $endif$
13
14 $for(pages.by_year)$
15 <ul>
16 $for(it.value)$
17 <li class="c-page__prefixed c-page__prefixed--ref">
18 <a href="$it.url.rel$">$it.category.id/uppercase$ $it.date.yyyy_mm_dd$ - $it.title$</a>
19 </li>
20 $endfor$
21 </ul>
22 $endfor$
23 </div>
24</main>
25
diff --git a/templates/layouts/index.html b/templates/layouts/index.html
index 21e6293..61edec2 100644
--- a/templates/layouts/index.html
+++ b/templates/layouts/index.html
@@ -42,11 +42,4 @@ $body$
42 |_ <strong>`~´ (/\\, (/\\, </strong> _' '_ _| ' |_ _' '_</pre> 42 |_ <strong>`~´ (/\\, (/\\, </strong> _' '_ _| ' |_ _' '_</pre>
43</template> 43</template>
44 44
45<script> 45<script src="/index.js" type="text/javascript"></script>
46 var headerEl = document.querySelector(".c-hero");
47 var headerTemplateEl = document.getElementById("header-sm");
48 var headerSmEl = headerTemplateEl.content.cloneNode("true");
49
50 headerEl.classList.remove("u-hidden@sm-down");
51 headerEl.appendChild(headerSmEl);
52</script>