diff --git a/assets/css/partials/project-card.css b/assets/css/partials/card.css similarity index 100% rename from assets/css/partials/project-card.css rename to assets/css/partials/card.css diff --git a/content/blog/test-blog.md b/content/blog/test-blog.md deleted file mode 100644 index 4d1c6d9..0000000 --- a/content/blog/test-blog.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: "Test blog" -description: "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum." -date: 2023-10-18T20:03:43+01:00 ---- diff --git a/content/blog/test-blog/index.md b/content/blog/test-blog/index.md new file mode 100644 index 0000000..c4182bc --- /dev/null +++ b/content/blog/test-blog/index.md @@ -0,0 +1,5 @@ +--- +title: "Test blog" +description: "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book." +date: 2023-10-18T20:03:43+01:00 +--- diff --git a/layouts/404.html b/layouts/404.html new file mode 100644 index 0000000..ba52ac2 --- /dev/null +++ b/layouts/404.html @@ -0,0 +1,8 @@ +{{ define "styles" }} + {{ $styles := resources.Get "css/index.css" | toCSS | minify }} + + +{{ end }} +{{ define "main" }} +

Page Not Found

+{{ end }} diff --git a/layouts/_default/list.html b/layouts/_default/list.html index fe36d88..54d1c3d 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -9,7 +9,7 @@
{{ range .Pages }} - {{ partial "project-card.html" . }} + {{ partial "card.html" . }} {{ end }}
{{ end }} diff --git a/layouts/index.html b/layouts/index.html index bb81026..0893f8f 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -9,7 +9,17 @@

These are all the projects I worked on personally and professionally.

{{ range (where .Site.Pages "Section" "projects") }} {{ range .Pages }} - {{ partial "project-card.html" . }} + {{ partial "card.html" . }} + {{ end }} + {{ end }} + + +
+

Blog

+

These are articles about things I learned about software engineering.

+ {{ range (where .Site.Pages "Section" "blog") }} + {{ range .Pages }} + {{ partial "card.html" . }} {{ end }} {{ end }}
diff --git a/layouts/partials/project-card.html b/layouts/partials/card.html similarity index 86% rename from layouts/partials/project-card.html rename to layouts/partials/card.html index 6ff3074..74395a8 100644 --- a/layouts/partials/project-card.html +++ b/layouts/partials/card.html @@ -1,4 +1,4 @@ -{{ $styles := resources.Get "css/partials/project-card.css" | toCSS | minify }} +{{ $styles := resources.Get "css/partials/card.css" | toCSS | minify }}