Add 404, blog section and unify the card partial

This commit is contained in:
Hazem Krimi
2023-11-13 19:47:23 +01:00
parent 3a07259ebc
commit 6df17ff272
7 changed files with 26 additions and 8 deletions
+11 -1
View File
@@ -9,7 +9,17 @@
<p>These are all the projects I worked on personally and professionally.</p>
{{ range (where .Site.Pages "Section" "projects") }}
{{ range .Pages }}
{{ partial "project-card.html" . }}
{{ partial "card.html" . }}
{{ end }}
{{ end }}
</section>
<section>
<h2>Blog</h2>
<p>These are articles about things I learned about software engineering.</p>
{{ range (where .Site.Pages "Section" "blog") }}
{{ range .Pages }}
{{ partial "card.html" . }}
{{ end }}
{{ end }}
</section>