From 5d88ad4493becdc1b25a8836b03df6f866f49b12 Mon Sep 17 00:00:00 2001 From: d093w1z Date: Tue, 27 Aug 2024 15:08:32 +0000 Subject: [PATCH] started life broadcasting post added support for post drafts --- .prettierrc | 25 ++- _pages/blog.md | 227 +++++++++++++------------ _posts/2024-08-27-life-broadcasting.md | 115 +++++++++++++ 3 files changed, 253 insertions(+), 114 deletions(-) create mode 100644 _posts/2024-08-27-life-broadcasting.md diff --git a/.prettierrc b/.prettierrc index 0163f19..4b2db44 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,3 +1,22 @@ -plugins: ["@shopify/prettier-plugin-liquid"] -printWidth: 150 -trailingComma: "es5" +{ + "plugins": ["@shopify/prettier-plugin-liquid"], + "tabWidth": 2, + "useTabs": false, + "printWidth": 80, + "singleQuote": true, + "trailingComma": "es5", + "bracketSpacing": true, + "proseWrap": "preserve", + "htmlWhitespaceSensitivity": "css", + "semi": true, + "arrowParens": "avoid", + + "overrides": [ + { + "files": "*.md", + "options": { + "embeddedLanguageFormatting": "auto" + } + } + ] +} diff --git a/_pages/blog.md b/_pages/blog.md index d11387f..7b7eb2e 100644 --- a/_pages/blog.md +++ b/_pages/blog.md @@ -5,15 +5,15 @@ title: blog nav: true nav_order: 1 pagination: - enabled: true - collection: posts - permalink: /page/:num/ - per_page: 5 - sort_field: date - sort_reverse: true - trail: - before: 1 # The number of links before the current page - after: 3 # The number of links after the current page +enabled: true +collection: posts +permalink: /page/:num/ +per_page: 5 +sort_field: date +sort_reverse: true +trail: +before: 1 # The number of links before the current page +after: 3 # The number of links after the current page ---
@@ -34,23 +34,25 @@ pagination:
    {% for tag in site.display_tags %} -
  • - {{ tag }} -
  • - {% unless forloop.last %} -

    - {% endunless %} +
  • + {{ tag }} +
  • + {% unless forloop.last %} +

    + {% endunless %} {% endfor %} {% if site.display_categories.size > 0 and site.display_tags.size > 0 %} -

    +

    {% endif %} {% for category in site.display_categories %} -
  • - {{ category }} -
  • - {% unless forloop.last %} -

    - {% endunless %} +
  • + {{ category }} +
  • + {% unless forloop.last %} +

    + {% endunless %} {% endfor %}
@@ -60,61 +62,63 @@ pagination: {% if featured_posts.size > 0 %}
-