From d8833409fca2d4d7df2c0bcbc3c2919b290719a7 Mon Sep 17 00:00:00 2001 From: Andrei Fangli Date: Sun, 18 Jun 2023 23:41:31 +0300 Subject: [PATCH 01/82] Testing testing --- CodeMap.Documentation/GitHub Pages/_posts/2023-06-18 First Post | 1 + 1 file changed, 1 insertion(+) create mode 100644 CodeMap.Documentation/GitHub Pages/_posts/2023-06-18 First Post diff --git a/CodeMap.Documentation/GitHub Pages/_posts/2023-06-18 First Post b/CodeMap.Documentation/GitHub Pages/_posts/2023-06-18 First Post new file mode 100644 index 00000000..935929ba --- /dev/null +++ b/CodeMap.Documentation/GitHub Pages/_posts/2023-06-18 First Post @@ -0,0 +1 @@ +Is this a blog? No really... is it? From d7741a8be558ede38748fb8a4ef3de63e110e08e Mon Sep 17 00:00:00 2001 From: Andrei Fangli Date: Sun, 18 Jun 2023 23:42:53 +0300 Subject: [PATCH 02/82] Updated actions for testing --- .github/workflows/build-and-deploy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 963c82ff..4f7c5ffb 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -4,6 +4,7 @@ on: push: branches: - dev + - add-blog-posts release: types: @@ -76,6 +77,7 @@ jobs: - name: Test shell: pwsh + if: false run: | dotnet test ` --configuration Release ` From 514c5be0e926ac3015e20d55a4762a6271060aa6 Mon Sep 17 00:00:00 2001 From: Andrei Fangli Date: Sun, 18 Jun 2023 23:46:00 +0300 Subject: [PATCH 03/82] Testing with front matter --- .../GitHub Pages/_posts/2023-06-18 First Post | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CodeMap.Documentation/GitHub Pages/_posts/2023-06-18 First Post b/CodeMap.Documentation/GitHub Pages/_posts/2023-06-18 First Post index 935929ba..84e9c117 100644 --- a/CodeMap.Documentation/GitHub Pages/_posts/2023-06-18 First Post +++ b/CodeMap.Documentation/GitHub Pages/_posts/2023-06-18 First Post @@ -1 +1,6 @@ +--- +--- + Is this a blog? No really... is it? + +Does it need front matter? From 19393d47d8d6d8f03ce2fa109729210efbc05cd5 Mon Sep 17 00:00:00 2001 From: Andrei Fangli Date: Sun, 18 Jun 2023 23:49:59 +0300 Subject: [PATCH 04/82] Added file extension --- .../GitHub Pages/_posts/2023-06-18 First Post | 6 ------ .../GitHub Pages/_posts/2023-06-18 First Post.md | 3 +++ 2 files changed, 3 insertions(+), 6 deletions(-) delete mode 100644 CodeMap.Documentation/GitHub Pages/_posts/2023-06-18 First Post create mode 100644 CodeMap.Documentation/GitHub Pages/_posts/2023-06-18 First Post.md diff --git a/CodeMap.Documentation/GitHub Pages/_posts/2023-06-18 First Post b/CodeMap.Documentation/GitHub Pages/_posts/2023-06-18 First Post deleted file mode 100644 index 84e9c117..00000000 --- a/CodeMap.Documentation/GitHub Pages/_posts/2023-06-18 First Post +++ /dev/null @@ -1,6 +0,0 @@ ---- ---- - -Is this a blog? No really... is it? - -Does it need front matter? diff --git a/CodeMap.Documentation/GitHub Pages/_posts/2023-06-18 First Post.md b/CodeMap.Documentation/GitHub Pages/_posts/2023-06-18 First Post.md new file mode 100644 index 00000000..fa8ccb12 --- /dev/null +++ b/CodeMap.Documentation/GitHub Pages/_posts/2023-06-18 First Post.md @@ -0,0 +1,3 @@ +Is this a blog? No really... is it? + +I may have forgotten about the extension... From cc37377474884d6df241233b40d8a630043df66c Mon Sep 17 00:00:00 2001 From: Andrei Fangli Date: Sun, 18 Jun 2023 23:53:47 +0300 Subject: [PATCH 05/82] Added front matter --- .../GitHub Pages/_posts/2023-06-18 First Post.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CodeMap.Documentation/GitHub Pages/_posts/2023-06-18 First Post.md b/CodeMap.Documentation/GitHub Pages/_posts/2023-06-18 First Post.md index fa8ccb12..c6ca85af 100644 --- a/CodeMap.Documentation/GitHub Pages/_posts/2023-06-18 First Post.md +++ b/CodeMap.Documentation/GitHub Pages/_posts/2023-06-18 First Post.md @@ -1,3 +1,8 @@ +--- +--- + Is this a blog? No really... is it? I may have forgotten about the extension... + +May still need front matter... From 1f455fae9f57884e5204db2065835f14fe42d7bf Mon Sep 17 00:00:00 2001 From: Andrei Fangli Date: Mon, 19 Jun 2023 00:00:21 +0300 Subject: [PATCH 06/82] Renamed post file name --- .../{2023-06-18 First Post.md => 2023-06-18-First-Post.md} | 2 ++ 1 file changed, 2 insertions(+) rename CodeMap.Documentation/GitHub Pages/_posts/{2023-06-18 First Post.md => 2023-06-18-First-Post.md} (94%) diff --git a/CodeMap.Documentation/GitHub Pages/_posts/2023-06-18 First Post.md b/CodeMap.Documentation/GitHub Pages/_posts/2023-06-18-First-Post.md similarity index 94% rename from CodeMap.Documentation/GitHub Pages/_posts/2023-06-18 First Post.md rename to CodeMap.Documentation/GitHub Pages/_posts/2023-06-18-First-Post.md index c6ca85af..cabf48ec 100644 --- a/CodeMap.Documentation/GitHub Pages/_posts/2023-06-18 First Post.md +++ b/CodeMap.Documentation/GitHub Pages/_posts/2023-06-18-First-Post.md @@ -6,3 +6,5 @@ Is this a blog? No really... is it? I may have forgotten about the extension... May still need front matter... + +Kebab From cf3aecc76d38b71479932b62779fdbf1436e65ac Mon Sep 17 00:00:00 2001 From: Andrei Fangli Date: Mon, 19 Jun 2023 00:04:38 +0300 Subject: [PATCH 07/82] Testing without front matter --- .../GitHub Pages/_posts/2023-06-18-First-Post.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/CodeMap.Documentation/GitHub Pages/_posts/2023-06-18-First-Post.md b/CodeMap.Documentation/GitHub Pages/_posts/2023-06-18-First-Post.md index cabf48ec..7d928793 100644 --- a/CodeMap.Documentation/GitHub Pages/_posts/2023-06-18-First-Post.md +++ b/CodeMap.Documentation/GitHub Pages/_posts/2023-06-18-First-Post.md @@ -1,10 +1,5 @@ ---- ---- - Is this a blog? No really... is it? I may have forgotten about the extension... -May still need front matter... - Kebab From 20aeddfb1a482bd55113271c4e7aa30e04db3c0b Mon Sep 17 00:00:00 2001 From: Andrei Fangli Date: Mon, 19 Jun 2023 00:08:18 +0300 Subject: [PATCH 08/82] Added page title --- .../GitHub Pages/_layouts/bootstrap_5.2.3.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CodeMap.Documentation/GitHub Pages/_layouts/bootstrap_5.2.3.html b/CodeMap.Documentation/GitHub Pages/_layouts/bootstrap_5.2.3.html index 0bf93de1..b0905a9e 100644 --- a/CodeMap.Documentation/GitHub Pages/_layouts/bootstrap_5.2.3.html +++ b/CodeMap.Documentation/GitHub Pages/_layouts/bootstrap_5.2.3.html @@ -59,6 +59,8 @@
+ {% if page.title %}

{{ page.title }}

{% endif %} + {{ content }}
@@ -80,4 +82,4 @@ - \ No newline at end of file + From 537a8e2dc35c294e0fd2ddb7243d848a468e7933 Mon Sep 17 00:00:00 2001 From: Andrei Fangli Date: Mon, 19 Jun 2023 00:11:00 +0300 Subject: [PATCH 09/82] Updated the first post, umm... post --- .../GitHub Pages/_posts/2023-06-18-First-Post.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/CodeMap.Documentation/GitHub Pages/_posts/2023-06-18-First-Post.md b/CodeMap.Documentation/GitHub Pages/_posts/2023-06-18-First-Post.md index 7d928793..6a9a019e 100644 --- a/CodeMap.Documentation/GitHub Pages/_posts/2023-06-18-First-Post.md +++ b/CodeMap.Documentation/GitHub Pages/_posts/2023-06-18-First-Post.md @@ -1,5 +1,9 @@ -Is this a blog? No really... is it? +Alright, so, no front matter is required (unless you want to change things) -I may have forgotten about the extension... +Follow the post filename constraints and ALL will be GOOD. Yep, that's it. -Kebab +### To Do + +* Add posts copy constraints, posts only on the `dev` branch should be published +* Tags might be useful, for architecture decision records +* Add blog index/paginated landing page, and add it to the navigation From 78cdb2201ab24669597a7d438084552fbe806154 Mon Sep 17 00:00:00 2001 From: Andrei Fangli Date: Mon, 19 Jun 2023 00:13:40 +0300 Subject: [PATCH 10/82] Updated page title check --- .../GitHub Pages/_layouts/bootstrap_5.2.3.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CodeMap.Documentation/GitHub Pages/_layouts/bootstrap_5.2.3.html b/CodeMap.Documentation/GitHub Pages/_layouts/bootstrap_5.2.3.html index b0905a9e..97af6dc9 100644 --- a/CodeMap.Documentation/GitHub Pages/_layouts/bootstrap_5.2.3.html +++ b/CodeMap.Documentation/GitHub Pages/_layouts/bootstrap_5.2.3.html @@ -59,7 +59,7 @@
- {% if page.title %}

{{ page.title }}

{% endif %} + {% if page.path contains '/_posts/' %}

{{ page.title }}

{% endif %} {{ content }}
From 4b6fe60836f3f48f2c3eb3768b5c7915822e6d6c Mon Sep 17 00:00:00 2001 From: Andrei Fangli Date: Mon, 19 Jun 2023 00:17:52 +0300 Subject: [PATCH 11/82] Added check for footer ref navigation --- .../GitHub Pages/_layouts/bootstrap_5.2.3.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/CodeMap.Documentation/GitHub Pages/_layouts/bootstrap_5.2.3.html b/CodeMap.Documentation/GitHub Pages/_layouts/bootstrap_5.2.3.html index 97af6dc9..6a45ed18 100644 --- a/CodeMap.Documentation/GitHub Pages/_layouts/bootstrap_5.2.3.html +++ b/CodeMap.Documentation/GitHub Pages/_layouts/bootstrap_5.2.3.html @@ -65,12 +65,14 @@