From 5788efd1ca0b0b83f017d31f05401f5b1a6786c6 Mon Sep 17 00:00:00 2001 From: Andrew Conlin Date: Fri, 9 Feb 2024 15:31:47 +0000 Subject: [PATCH 01/10] [2024-02-09] Update link format and Weeklinks titles --- _config.yml | 4 ++-- .../{2023-12-03-weeklinks-001.md => 2023-12-03-001.md} | 2 +- .../{2023-12-10-weeklinks-002.md => 2023-12-10-002.md} | 2 +- .../{2023-12-18-weeklinks-003.md => 2023-12-18-003.md} | 2 +- .../{2024-01-09-weeklinks-004.md => 2024-01-09-004.md} | 2 +- .../{2024-01-29-weeklinks-005.md => 2024-01-29-005.md} | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) rename _posts/weeklinks/{2023-12-03-weeklinks-001.md => 2023-12-03-001.md} (98%) rename _posts/weeklinks/{2023-12-10-weeklinks-002.md => 2023-12-10-002.md} (97%) rename _posts/weeklinks/{2023-12-18-weeklinks-003.md => 2023-12-18-003.md} (98%) rename _posts/weeklinks/{2024-01-09-weeklinks-004.md => 2024-01-09-004.md} (98%) rename _posts/weeklinks/{2024-01-29-weeklinks-005.md => 2024-01-29-005.md} (98%) diff --git a/_config.yml b/_config.yml index bcb1be4..972e91b 100644 --- a/_config.yml +++ b/_config.yml @@ -18,7 +18,7 @@ defaults: path: "_posts/blog" type: posts values: - permalink: blog/:year/:month/:day/:title/ + permalink: blog/:title/ layout: post # til - scope: @@ -33,7 +33,7 @@ defaults: path: "_posts/weeklinks" type: posts values: - permalink: blog/:year/:month/:day/:title/ + permalink: weeklinks/:title/ category: weeklinks layout: post diff --git a/_posts/weeklinks/2023-12-03-weeklinks-001.md b/_posts/weeklinks/2023-12-03-001.md similarity index 98% rename from _posts/weeklinks/2023-12-03-weeklinks-001.md rename to _posts/weeklinks/2023-12-03-001.md index 069cdad..511f6dd 100644 --- a/_posts/weeklinks/2023-12-03-weeklinks-001.md +++ b/_posts/weeklinks/2023-12-03-001.md @@ -1,5 +1,5 @@ --- -title: Weeklinks 001 - Philosophy, grief and macaques +title: 001 - Philosophy, grief and macaques category: weeklinks layout: post --- diff --git a/_posts/weeklinks/2023-12-10-weeklinks-002.md b/_posts/weeklinks/2023-12-10-002.md similarity index 97% rename from _posts/weeklinks/2023-12-10-weeklinks-002.md rename to _posts/weeklinks/2023-12-10-002.md index c0312ba..9c0bec8 100644 --- a/_posts/weeklinks/2023-12-10-weeklinks-002.md +++ b/_posts/weeklinks/2023-12-10-002.md @@ -1,5 +1,5 @@ --- -title: Weeklinks 002 - Trains, iPods and plagiarism +title: 002 - Trains, iPods and plagiarism category: weeklinks layout: post --- diff --git a/_posts/weeklinks/2023-12-18-weeklinks-003.md b/_posts/weeklinks/2023-12-18-003.md similarity index 98% rename from _posts/weeklinks/2023-12-18-weeklinks-003.md rename to _posts/weeklinks/2023-12-18-003.md index 4a79f64..e8b1c3f 100644 --- a/_posts/weeklinks/2023-12-18-weeklinks-003.md +++ b/_posts/weeklinks/2023-12-18-003.md @@ -1,5 +1,5 @@ --- -title: Weeklinks 003 - Bryan, Cory and Mickey +title: 003 - Bryan, Cory and Mickey category: weeklinks layout: post --- diff --git a/_posts/weeklinks/2024-01-09-weeklinks-004.md b/_posts/weeklinks/2024-01-09-004.md similarity index 98% rename from _posts/weeklinks/2024-01-09-weeklinks-004.md rename to _posts/weeklinks/2024-01-09-004.md index a08a13c..2d14a22 100644 --- a/_posts/weeklinks/2024-01-09-weeklinks-004.md +++ b/_posts/weeklinks/2024-01-09-004.md @@ -1,5 +1,5 @@ --- -title: Weeklinks 004 - Obfuscation, dial-up and tiny chess +title: 004 - Obfuscation, dial-up and tiny chess category: weeklinks layout: post --- diff --git a/_posts/weeklinks/2024-01-29-weeklinks-005.md b/_posts/weeklinks/2024-01-29-005.md similarity index 98% rename from _posts/weeklinks/2024-01-29-weeklinks-005.md rename to _posts/weeklinks/2024-01-29-005.md index 24f2b18..9e36165 100644 --- a/_posts/weeklinks/2024-01-29-weeklinks-005.md +++ b/_posts/weeklinks/2024-01-29-005.md @@ -1,5 +1,5 @@ --- -title: Weeklinks 005 - ccTLDs, BBC Basic and 6174 +title: 005 - ccTLDs, BBC Basic and 6174 category: weeklinks layout: post --- From fd408b07aee7059bd85765365b972b52276acfe0 Mon Sep 17 00:00:00 2001 From: Andrew Conlin Date: Fri, 9 Feb 2024 15:32:30 +0000 Subject: [PATCH 02/10] [2024-02-09] Update style, dashed
, serif font, black and white --- assets/css/default.css | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/assets/css/default.css b/assets/css/default.css index 2757733..3a36525 100644 --- a/assets/css/default.css +++ b/assets/css/default.css @@ -1,5 +1,5 @@ body { - font-family: Arial, Helvetica, sans-serif; + font-family: Georgia, 'Times New Roman', Times, serif; } div.container { @@ -41,10 +41,26 @@ div.content { } body { - background-color: #1a1b26; - color: #a9b1d6; + background-color: #ffffff; + color: #000000; } -a { - color: #9ece6a; +pre { + background-color:antiquewhite; + padding: 10px 10px 10px 10px; + border-radius: 10px; + white-space: pre-wrap; + white-space: pre-wrap; } + +hr { + border: 2px dashed #000000; + border-style: none none dashed; + color: transparent; + background-color: transparent; +} + +img { + max-width:100%; + max-height:100%; +} \ No newline at end of file From c0d282c849883379fa28c7a0a775a9d40b76d98c Mon Sep 17 00:00:00 2001 From: Andrew Conlin Date: Fri, 9 Feb 2024 15:32:56 +0000 Subject: [PATCH 03/10] [2024-02-09] Changed date format and made monospace --- _includes/defaultFooter.html | 4 ++-- _includes/postFooter.html | 2 +- _layouts/default.html | 6 +----- _layouts/post.html | 9 +++++---- index.html | 8 ++++---- 5 files changed, 13 insertions(+), 16 deletions(-) diff --git a/_includes/defaultFooter.html b/_includes/defaultFooter.html index 14a3ce0..77dda75 100644 --- a/_includes/defaultFooter.html +++ b/_includes/defaultFooter.html @@ -1,8 +1,8 @@
- + Made with 💕 (and Jekyll)
© Andrew Conlin 2023-2024
All rights reverse engineered -
+
diff --git a/_includes/postFooter.html b/_includes/postFooter.html index beb15e1..417b4ce 100644 --- a/_includes/postFooter.html +++ b/_includes/postFooter.html @@ -1,4 +1,4 @@

-Issues or comments? Email me! +Issues or comments? Email me!
diff --git a/_layouts/default.html b/_layouts/default.html index 239807f..2f9593e 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -19,14 +19,10 @@
-
- {% if page.backlink == true %} - <-- back - {% endif %} +

{{ page.title }}

- {{ page.subtitle }} {{ content }} {% include defaultFooter.html %}
diff --git a/_layouts/post.html b/_layouts/post.html index 2bb3e04..ee5b359 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -1,11 +1,12 @@ --- layout: default --- + +~ > {{page.category}} > {{page.title}}
-

- Posted {{ page.date | date_to_string }} to Andrew Conlin's blog
- Reading time: {{ content | reading_time | pluralize: "minute" }} -

+ {{ page.date | date: "%Y-%m-%d" }}
+ {{ content | reading_time | pluralize: "minute" }} +

{{ content }} diff --git a/index.html b/index.html index a365adc..57d9237 100644 --- a/index.html +++ b/index.html @@ -1,6 +1,6 @@ --- layout: default -title: Andrew Conlin's blog +title: andrewconl.in permalink: / backlink: false --- @@ -23,7 +23,7 @@ github: @andrwcnln
{% assign category = post.category %} {% if category == 'blog' %}
  • -

    {{ post.title }} -- {{ post.date | date_to_string }}

    +

    {{ post.title }} // {{ post.date | date: "%Y-%m-%d" }}

  • {% endif %} {% endfor %} @@ -35,7 +35,7 @@ github: @andrwcnln
    {% assign category = post.category %} {% if category == 'weeklinks' %}
  • -

    {{ post.title }} -- {{ post.date | date_to_string }}

    +

    {{ post.title }} // {{ post.date | date: "%Y-%m-%d" }}

  • {% endif %} {% endfor %} @@ -47,7 +47,7 @@ github: @andrwcnln
    {% assign category = post.category %} {% if category == 'til' %}
  • -

    {{ post.title }} -- {{ post.date | date_to_string }}

    +

    {{ post.title }} // {{ post.date | date: "%Y-%m-%d" }}

  • {% endif %} {% endfor %} From 2aab713d20f2618806867c712f5ff89a84a1545e Mon Sep 17 00:00:00 2001 From: Andrew Conlin Date: Fri, 9 Feb 2024 16:40:00 +0000 Subject: [PATCH 04/10] [2024-02-09] Adding header --- _includes/header.html | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 _includes/header.html diff --git a/_includes/header.html b/_includes/header.html new file mode 100644 index 0000000..47693ca --- /dev/null +++ b/_includes/header.html @@ -0,0 +1,6 @@ +

    andrewconl.in

    +
    + blog // weeklinks // til // projects // meta +
    +
    +
    \ No newline at end of file From 1231885bf3f06bdaea080edb6c375786a82e4d73 Mon Sep 17 00:00:00 2001 From: Andrew Conlin Date: Fri, 9 Feb 2024 16:40:38 +0000 Subject: [PATCH 05/10] [2024-02-09] Removing page.title and replacing with header + post specific stuff --- _layouts/default.html | 6 ++---- _layouts/post.html | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index 2f9593e..0073cc3 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -19,10 +19,8 @@
    -
    -

    - {{ page.title }} -

    +
    + {% include header.html %} {{ content }} {% include defaultFooter.html %}
    diff --git a/_layouts/post.html b/_layouts/post.html index ee5b359..3e112ac 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -2,7 +2,7 @@ layout: default --- -~ > {{page.category}} > {{page.title}}
    +~ > {{page.category}} > {{page.title}}
    {{ page.date | date: "%Y-%m-%d" }}
    {{ content | reading_time | pluralize: "minute" }} From 537f40c41571d253e53d4ba11f9aa69d0bd01b26 Mon Sep 17 00:00:00 2001 From: Andrew Conlin Date: Fri, 9 Feb 2024 16:41:03 +0000 Subject: [PATCH 06/10] [2024-02-09] Minimum width to 50%, monospace throughout --- assets/css/default.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/css/default.css b/assets/css/default.css index 3a36525..06da530 100644 --- a/assets/css/default.css +++ b/assets/css/default.css @@ -1,5 +1,5 @@ body { - font-family: Georgia, 'Times New Roman', Times, serif; + font-family: monospace; } div.container { @@ -7,7 +7,7 @@ div.container { } div.content { - width: 40%; + width: 50%; height: auto; margin: 0 auto; position: relative; From 160e690821c0d344223a8a1fa6e4d22c55459a35 Mon Sep 17 00:00:00 2001 From: Andrew Conlin Date: Fri, 9 Feb 2024 16:41:54 +0000 Subject: [PATCH 07/10] [2024-02-09] Moving dates before posts, changing RSS feed link --- index.html | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index 57d9237..ebaaa0c 100644 --- a/index.html +++ b/index.html @@ -14,8 +14,7 @@ email: andrew@andrewconl.in
    masto: andrwcnln@mastodon.scot
    github: @andrwcnln
    --
    -rss
    -
    +rss

    Posts

      @@ -23,7 +22,7 @@ github: @andrwcnln
      {% assign category = post.category %} {% if category == 'blog' %}
    • -

      {{ post.title }} // {{ post.date | date: "%Y-%m-%d" }}

      +

      {{ post.date | date: "%Y-%m-%d" }} // {{ post.title }}

    • {% endif %} {% endfor %} @@ -35,7 +34,7 @@ github: @andrwcnln
      {% assign category = post.category %} {% if category == 'weeklinks' %}
    • -

      {{ post.title }} // {{ post.date | date: "%Y-%m-%d" }}

      +

      {{ post.date | date: "%Y-%m-%d" }} // {{ post.title }}

    • {% endif %} {% endfor %} @@ -47,7 +46,7 @@ github: @andrwcnln
      {% assign category = post.category %} {% if category == 'til' %}
    • -

      {{ post.title }} // {{ post.date | date: "%Y-%m-%d" }}

      +

      {{ post.date | date: "%Y-%m-%d" }} // {{ post.title }}

    • {% endif %} {% endfor %} From f7965ebe635b45993a5be8294df57c901332436a Mon Sep 17 00:00:00 2001 From: Andrew Conlin Date: Fri, 16 Feb 2024 17:20:24 +0000 Subject: [PATCH 08/10] [2024-02-16] Updating blog link style to include year --- _config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index 972e91b..add61bb 100644 --- a/_config.yml +++ b/_config.yml @@ -18,7 +18,7 @@ defaults: path: "_posts/blog" type: posts values: - permalink: blog/:title/ + permalink: blog/:year/:title/ layout: post # til - scope: From 79d4b62e4b9d9d5df56dc0ca5d63936f5a524084 Mon Sep 17 00:00:00 2001 From: Andrew Conlin Date: Fri, 16 Feb 2024 17:21:07 +0000 Subject: [PATCH 09/10] [2024-02-16] Added link to page header --- _includes/header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/header.html b/_includes/header.html index 47693ca..50f3660 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -1,4 +1,4 @@ -

      andrewconl.in

      +

      andrewconl.in

      From 2d69dae08f359addd742fdc5588bf58c6ad4f169 Mon Sep 17 00:00:00 2001 From: Andrew Conlin Date: Fri, 16 Feb 2024 17:21:50 +0000 Subject: [PATCH 10/10] [2024-02-16] Giving posts, weeklinks and til their own homepages --- blog.html | 19 +++++++++++++++++++ index.html | 39 +-------------------------------------- til.html | 18 ++++++++++++++++++ weeklinks.html | 19 +++++++++++++++++++ 4 files changed, 57 insertions(+), 38 deletions(-) create mode 100644 blog.html create mode 100644 til.html create mode 100644 weeklinks.html diff --git a/blog.html b/blog.html new file mode 100644 index 0000000..434d6cf --- /dev/null +++ b/blog.html @@ -0,0 +1,19 @@ +--- +layout: default +title: blog +permalink: /blog +backlink: false +--- + +

      Posts

      +
        + {% for post in site.posts %} + {% assign category = post.category %} + {% if category == 'blog' %} +
      • +

        {{ post.date | date: "%Y-%m-%d" }} // {{ post.title }}

        +
      • + {% endif %} + {% endfor %} +
      +
      \ No newline at end of file diff --git a/index.html b/index.html index ebaaa0c..806c338 100644 --- a/index.html +++ b/index.html @@ -4,8 +4,6 @@ title: andrewconl.in permalink: / backlink: false --- - - This site is designed to be kept as simple as possible.
      It is pure HTML/CSS [*], which keeps things small, fast and accessible.
      * I use a self-hosted instance of umami for analytics. It respects do-not-track signals.
      @@ -15,39 +13,4 @@ masto: andrwcnln@mastodon.sc github: @andrwcnln
      --
      rss
      -
      -

      Posts

      -
        - {% for post in site.posts %} - {% assign category = post.category %} - {% if category == 'blog' %} -
      • -

        {{ post.date | date: "%Y-%m-%d" }} // {{ post.title }}

        -
      • - {% endif %} - {% endfor %} -
      -
      -

      Weeklinks

      -
        - {% for post in site.posts %} - {% assign category = post.category %} - {% if category == 'weeklinks' %} -
      • -

        {{ post.date | date: "%Y-%m-%d" }} // {{ post.title }}

        -
      • - {% endif %} - {% endfor %} -
      -
      -

      TIL

      -
        - {% for post in site.posts %} - {% assign category = post.category %} - {% if category == 'til' %} -
      • -

        {{ post.date | date: "%Y-%m-%d" }} // {{ post.title }}

        -
      • - {% endif %} - {% endfor %} -
      +
      \ No newline at end of file diff --git a/til.html b/til.html new file mode 100644 index 0000000..efa98fb --- /dev/null +++ b/til.html @@ -0,0 +1,18 @@ +--- +layout: default +title: til +permalink: /til +backlink: false +--- +

      TIL

      +
        + {% for post in site.posts %} + {% assign category = post.category %} + {% if category == 'til' %} +
      • +

        {{ post.date | date: "%Y-%m-%d" }} // {{ post.title }}

        +
      • + {% endif %} + {% endfor %} +
      +
      \ No newline at end of file diff --git a/weeklinks.html b/weeklinks.html new file mode 100644 index 0000000..6b28206 --- /dev/null +++ b/weeklinks.html @@ -0,0 +1,19 @@ +--- +layout: default +title: weeklinks +permalink: /weeklinks +backlink: false +--- + +

      Weeklinks

      +
        + {% for post in site.posts %} + {% assign category = post.category %} + {% if category == 'weeklinks' %} +
      • +

        {{ post.date | date: "%Y-%m-%d" }} // {{ post.title }}

        +
      • + {% endif %} + {% endfor %} +
      +
      \ No newline at end of file