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:
@@ -60,61 +62,63 @@ pagination: {% if featured_posts.size > 0 %}
-