From 3be218b1ef6406cd4a888da2a030bd340a3d8388 Mon Sep 17 00:00:00 2001 From: Oscar Otero Date: Tue, 31 Dec 2024 19:16:06 +0100 Subject: [PATCH] deno fmt --- .github/workflows/build_demo.yml | 2 +- deno.json | 2 +- src/_data/i18n.yml | 6 +++--- src/_includes/css/comments.css | 12 ++++++------ src/_includes/css/navbar.css | 2 +- src/_includes/css/page.css | 6 +++--- src/_includes/css/post.css | 8 ++++---- src/posts/firstpost.md | 4 +++- 8 files changed, 22 insertions(+), 20 deletions(-) diff --git a/.github/workflows/build_demo.yml b/.github/workflows/build_demo.yml index adb1af6..e85bc49 100644 --- a/.github/workflows/build_demo.yml +++ b/.github/workflows/build_demo.yml @@ -2,7 +2,7 @@ name: Build demo on: push: - branches: [ main ] + branches: [main] permissions: contents: read diff --git a/deno.json b/deno.json index 1aa49ba..616f1b7 100644 --- a/deno.json +++ b/deno.json @@ -1,7 +1,7 @@ { "imports": { "lume/": "https://deno.land/x/lume@v2.4.3/", - "lume/cms/": "https://cdn.jsdelivr.net/gh/lumeland/cms@0.7.7/" + "lume/cms/": "https://cdn.jsdelivr.net/gh/lumeland/cms@0.8.0/" }, "tasks": { "lume": "echo \"import 'lume/cli.ts'\" | deno run -A -", diff --git a/src/_data/i18n.yml b/src/_data/i18n.yml index af33458..c85d7ec 100644 --- a/src/_data/i18n.yml +++ b/src/_data/i18n.yml @@ -13,8 +13,8 @@ post: by: by reading_time: min read search: - by_author: Posts by - by_tag: Tagged + by_author: Posts by + by_tag: Tagged tags: Tags comments: title: Comments @@ -24,4 +24,4 @@ comments: You can leave a comment by replying to this Bluesky post from your own account. description_all: | You can leave a comment by replying to this Mastodon post or this Bluesky post from your own account. - empty: No comments yet \ No newline at end of file + empty: No comments yet diff --git a/src/_includes/css/comments.css b/src/_includes/css/comments.css index 1a2529b..f8f3a95 100644 --- a/src/_includes/css/comments.css +++ b/src/_includes/css/comments.css @@ -11,7 +11,7 @@ & p { font: var(--font-ui); color: var(--color-dim); - margin: .5em 0; + margin: 0.5em 0; } } .comments { @@ -94,7 +94,7 @@ text-decoration: underline; } .comment-username { - margin-right: .5em; + margin-right: 0.5em; color: var(--color-text); } .comment-useraddress { @@ -103,13 +103,13 @@ .comment-time { font-size: small; display: flex; - column-gap: .3em; + column-gap: 0.3em; align-items: center; svg { width: 1em; height: 1em; - fill: currentColor + fill: currentColor; } } .comment-address { @@ -117,7 +117,7 @@ text-decoration: none; display: block; padding-left: var(--indent); - margin-top: .2em; + margin-top: 0.2em; } .comment-address:hover { text-decoration: underline; @@ -157,6 +157,6 @@ .comment-counts > span { display: flex; align-items: center; - column-gap: .3em; + column-gap: 0.3em; } } diff --git a/src/_includes/css/navbar.css b/src/_includes/css/navbar.css index 177f173..8ec58d5 100644 --- a/src/_includes/css/navbar.css +++ b/src/_includes/css/navbar.css @@ -32,4 +32,4 @@ .navbar-home { text-decoration: none; -} \ No newline at end of file +} diff --git a/src/_includes/css/page.css b/src/_includes/css/page.css index dd73f1f..a53b957 100644 --- a/src/_includes/css/page.css +++ b/src/_includes/css/page.css @@ -23,17 +23,17 @@ margin: 0; display: flex; flex-wrap: wrap; - gap: .5em; + gap: 0.5em; } & h2 { font: var(--font-body-bold); letter-spacing: var(--font-body-spacing); - margin: .5em 0; + margin: 0.5em 0; } } .page-pagination { border-top: solid 1px var(--color-line); margin-top: var(--row-gap-medium); -} \ No newline at end of file +} diff --git a/src/_includes/css/post.css b/src/_includes/css/post.css index ede3bc1..d6844de 100644 --- a/src/_includes/css/post.css +++ b/src/_includes/css/post.css @@ -14,7 +14,7 @@ display: flex; flex-flow: row wrap; row-gap: 1em; - column-gap: .5em; + column-gap: 0.5em; align-items: center; font: var(--font-small); color: var(--color-dim); @@ -25,12 +25,12 @@ & p:nth-child(-n+2)::after { content: "•"; - padding-left: .5em; + padding-left: 0.5em; align-self: stretch; } & p:last-of-type { - margin-right: .5em; + margin-right: 0.5em; } & a { @@ -41,7 +41,7 @@ .post-tags { display: flex; flex-flow: row wrap; - gap: .5em; + gap: 0.5em; align-items: center; } diff --git a/src/posts/firstpost.md b/src/posts/firstpost.md index 80fdbb0..3f95c78 100644 --- a/src/posts/firstpost.md +++ b/src/posts/firstpost.md @@ -12,6 +12,7 @@ comments: src: 'https://mastodon.gal/@misteroom/110810445656343599' draft: false --- + Leverage agile frameworks to provide a robust synopsis for high level overviews. Iterative approaches to corporate strategy foster collaborative thinking to further the overall value proposition. Organically grow the holistic world view @@ -51,4 +52,5 @@ Here is a footnote reference,[^1] and [^2]another. And this[^3] is a long note. [^3]: Here's one with multiple blocks. - Subsequent paragraphs are indented (4 spaces) to show that they belong to the previous footnote. + Subsequent paragraphs are indented (4 spaces) to show that they belong to + the previous footnote.