diff options
| -rw-r--r-- | content/index.js | 6 | ||||
| -rw-r--r-- | content/index.md | 12 | ||||
| -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.yaml | 10 | ||||
| -rw-r--r-- | templates/base.html | 2 | ||||
| -rw-r--r-- | templates/layouts/dated_list.html | 25 | ||||
| -rw-r--r-- | templates/layouts/index.html | 9 |
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 @@ | |||
| 1 | var headerEl = document.querySelector(".c-hero"); | ||
| 2 | var headerTemplateEl = document.getElementById("header-sm"); | ||
| 3 | var headerSmEl = headerTemplateEl.content.cloneNode("true"); | ||
| 4 | |||
| 5 | headerEl.classList.remove("u-hidden@sm-down"); | ||
| 6 | headerEl.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 | ||
| 11 | Here's a complete list of my profiles on other platforms: | 11 | Here's a complete list of my profiles on other platforms. |
| 12 | It helps you find me elsewhere and it serves as a proof that those profiles are legitimately mine. | ||
| 13 | I'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:** <available> | 21 | - **XMPP:** <available> |
| 21 | 22 | ||
| 22 | If 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 | |||
| 25 | CB07051B E223EF70 8EE8F665 BBFCEF00 83415C45 DCA31906 F2362543 F5543449 | ||
| 26 | 10784066 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 | ||
| 24 | feeds: | 24 | feeds: |
| @@ -26,10 +26,10 @@ feeds: | |||
| 26 | url: /notebook/index.xml | 26 | url: /notebook/index.xml |
| 27 | 27 | ||
| 28 | categories: | 28 | categories: |
| 29 | pers_notebook: | 29 | personal: |
| 30 | dre: Dream Journal | 30 | dre: Dreams |
| 31 | 31 | ||
| 32 | rewrites: | 32 | rewrites: |
| 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> | ||
