From a65511d465818b467d99a7685e95fbe4a08b6e24 Mon Sep 17 00:00:00 2001 From: Andrew Conlin Date: Thu, 9 Mar 2023 22:57:58 +0000 Subject: [PATCH] [09/03/23] tags --> categories, added support for tags, changed category formatting --- _data/{tags.yml => categories.yml} | 0 _data/nav.yml | 2 +- _includes/categoryStyle.html | 17 +++++++ _includes/nav.html | 8 ++-- _includes/tagStyle.html | 17 ------- _layouts/default.html | 7 +-- _layouts/post.html | 16 +++++-- _posts/2023-01-14-musings-on-the-cinema.md | 5 +- _posts/2023-03-01-nextcloud-php-errors.md | 7 ++- _posts/2023-03-05-yuri-felsen-on-love.md | 5 +- _site/blog.html | 46 +++++++------------ _site/index.html | 7 +-- .../2023/03/05/yuri-felsen-on-love.html | 28 +++++++---- .../2023/01/14/musings-on-the-cinema.html | 34 +++++++++----- .../2023/03/01/nextcloud-php-errors.html | 38 +++++++++++---- blog.html | 14 +++--- 16 files changed, 143 insertions(+), 108 deletions(-) rename _data/{tags.yml => categories.yml} (100%) create mode 100644 _includes/categoryStyle.html delete mode 100644 _includes/tagStyle.html rename _site/{ => quotes}/2023/03/05/yuri-felsen-on-love.html (87%) rename _site/{ => thoughts}/2023/01/14/musings-on-the-cinema.html (84%) rename _site/{ => til}/2023/03/01/nextcloud-php-errors.html (88%) diff --git a/_data/tags.yml b/_data/categories.yml similarity index 100% rename from _data/tags.yml rename to _data/categories.yml diff --git a/_data/nav.yml b/_data/nav.yml index ed07279..af9ee76 100644 --- a/_data/nav.yml +++ b/_data/nav.yml @@ -2,6 +2,6 @@ link: /index.html - name: blog link: /blog.html -- name: photos +- name: photos↗ link: http://andrewconlinphotography.co.uk diff --git a/_includes/categoryStyle.html b/_includes/categoryStyle.html new file mode 100644 index 0000000..ea18b8e --- /dev/null +++ b/_includes/categoryStyle.html @@ -0,0 +1,17 @@ + \ No newline at end of file diff --git a/_includes/nav.html b/_includes/nav.html index 9a83c91..7b33928 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -1,9 +1,9 @@ -{% assign tags = page.tags %} -{% assign primaryTag = site.data.tags[tags.first] %} +{% assign categories = page.categories %} +{% assign primaryCategory = site.data.categories[categories.first] %}

- {% if tags %} - ac + {% if categories %} + ac {% else %} ac {% endif %} diff --git a/_includes/tagStyle.html b/_includes/tagStyle.html deleted file mode 100644 index 9a26fd9..0000000 --- a/_includes/tagStyle.html +++ /dev/null @@ -1,17 +0,0 @@ - \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index bcbf4ec..d4177a1 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -11,7 +11,7 @@ - {% include tagStyle.html%} + {% include categoryStyle.html%} @@ -26,10 +26,7 @@
- - + \ No newline at end of file diff --git a/_layouts/post.html b/_layouts/post.html index a289a00..78e667d 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -2,13 +2,21 @@ layout: default --- +{% assign categories = page.categories %} +{% assign category = site.data.categories[categories.first] %} + {% assign tags = page.tags %} -

- {{ page.date | date_to_string }} | +

+  {{ page.date | date_to_string }}   |    +   {{ categories.first }}  +    |    + {% for tag in tags %} - {% assign currentTag = site.data.tags[tag] %} - {{ tag }} + {{ tag }} + {% if tag != tags.last %} + , + {% endif %} {% endfor %}


diff --git a/_posts/2023-01-14-musings-on-the-cinema.md b/_posts/2023-01-14-musings-on-the-cinema.md index 9d11a89..702acb7 100644 --- a/_posts/2023-01-14-musings-on-the-cinema.md +++ b/_posts/2023-01-14-musings-on-the-cinema.md @@ -1,9 +1,12 @@ --- layout: post title: Musings on the power of cinema -tags: +categories: - thoughts +tags: - journal +- cinema +- film --- I've realised that going to the cinema makes me sad; a quiet, contemplative melancholy. Ennui. No matter the film, something about the cinema experience is meditative for me. I always look at things differently in the aftermath; like my perception is temporarily knocked off balance. No, more like a fog is lifted for a while. I especially enjoy that time immediately after, the cycle home. I notice so many little details, scenes of beauty and of strange nostalgia. Like I'm finally seeing the world how it is, or rather, I begin to see rather than look, listen rather than hear. I feel as though these moments, however brief, are when I am truly in touch with myself. My soul, my inner essence. This is why I love the cinema. These moments of private melancholy, of temporary clarity. It is a feeling I cannot replicate anywhere else in my life. \ No newline at end of file diff --git a/_posts/2023-03-01-nextcloud-php-errors.md b/_posts/2023-03-01-nextcloud-php-errors.md index 9c3ab3a..ddc3a37 100644 --- a/_posts/2023-03-01-nextcloud-php-errors.md +++ b/_posts/2023-03-01-nextcloud-php-errors.md @@ -1,8 +1,13 @@ --- layout: post title: Fixing php errors in a Nextcloud docker-compose configuration -tags: +categories: - til +tags: +- php +- nextcloud +- docker +- docker-compose --- I was trying to rescan the files in my Nextcloud server (running on Raspberry Pi 4 with DietPi), and kept running into some weird `php` errors. diff --git a/_posts/2023-03-05-yuri-felsen-on-love.md b/_posts/2023-03-05-yuri-felsen-on-love.md index c95b41d..96f4bde 100644 --- a/_posts/2023-03-05-yuri-felsen-on-love.md +++ b/_posts/2023-03-05-yuri-felsen-on-love.md @@ -1,8 +1,11 @@ --- layout: post title: Yuri Felsen on love -tags: +categories: - quotes +tags: +- yuri felsen +- love --- _"Like everyone, I have my own, maybe obsessive futile, maybe in some way authentic, vision: all of a sudden, I will imagine the entire homogenous world as it is revealed to us-the streets, the cities, the rooms, those intelligent beasts of a sad and predatory nature, who have learn to stand on their hind legs, who have built all this but are fated to disappear, who, despite this, still try to cling to something solid and lasting, still try to ward off the inevitability of death, who dreamt up fairy tales and, now that these stories have been disproved, are disconsolate - and for me the only means of defending myself from our terrible fate is love, my love - Lyolya. Without love we fall into a stupor or despair, it covers our naked animal essence; with the fear of death, with deliberate attempts to grab hold of some kind of eternity, one that is at once a mystery to us and yet devised by us, even the remains of love, even its very echo in music, imbues us with a semblance of fearlessness, dignity and the spiritual range to disregard death. Only by loving, by knowing about love, hoping for love, are we inspired and meaningfully engaged in life, able to banish the sovereignty of petty day-to-day cares, to stop waiting for the end to come"_ diff --git a/_site/blog.html b/_site/blog.html index db28ef9..9588087 100644 --- a/_site/blog.html +++ b/_site/blog.html @@ -58,7 +58,7 @@ @@ -110,48 +110,39 @@

-

- 05 Mar 2023 | + + + +

+  05 Mar 2023   |    +   quotes  +    |    + + + yuri felsen + + , + + + love - - quotes


@@ -128,10 +139,7 @@
- - + \ No newline at end of file diff --git a/_site/2023/01/14/musings-on-the-cinema.html b/_site/thoughts/2023/01/14/musings-on-the-cinema.html similarity index 84% rename from _site/2023/01/14/musings-on-the-cinema.html rename to _site/thoughts/2023/01/14/musings-on-the-cinema.html index 8eb87c9..d4ddc8a 100644 --- a/_site/2023/01/14/musings-on-the-cinema.html +++ b/_site/thoughts/2023/01/14/musings-on-the-cinema.html @@ -6,7 +6,7 @@ - + andrew conlin @@ -58,7 +58,7 @@

- photos + photos↗

@@ -108,14 +108,27 @@ -

- 14 Jan 2023 | + + + +

+  14 Jan 2023   |    +   thoughts  +    |    + - - thoughts + journal + + , + + + cinema + + , + + + film - - journal


@@ -127,10 +140,7 @@
- - + \ No newline at end of file diff --git a/_site/2023/03/01/nextcloud-php-errors.html b/_site/til/2023/03/01/nextcloud-php-errors.html similarity index 88% rename from _site/2023/03/01/nextcloud-php-errors.html rename to _site/til/2023/03/01/nextcloud-php-errors.html index 230f37d..b2d7754 100644 --- a/_site/2023/03/01/nextcloud-php-errors.html +++ b/_site/til/2023/03/01/nextcloud-php-errors.html @@ -6,7 +6,7 @@ - + andrew conlin @@ -58,7 +58,7 @@

- photos + photos↗

@@ -108,11 +108,32 @@ -

- 01 Mar 2023 | + + + +

+  01 Mar 2023   |    +   til  +    |    + + + php + + , + + + nextcloud + + , + + + docker + + , + + + docker-compose - - til


@@ -166,10 +187,7 @@ This led me to running this command:


- - + \ No newline at end of file diff --git a/blog.html b/blog.html index 8dd0fcc..bfa0031 100644 --- a/blog.html +++ b/blog.html @@ -7,16 +7,14 @@ title: latest posts