Add projects section to home page

This commit is contained in:
Hazem Krimi
2023-11-09 21:07:33 +01:00
parent 24f3aae9e6
commit 6d21953612
3 changed files with 12 additions and 6 deletions
+11 -1
View File
@@ -5,7 +5,17 @@
{{ end }}
{{ define "main" }}
{{ .Content }}
<h2>Projects</h2>
<section id="projects">
{{ range (where .Site.Pages "Section" "projects") }}
{{ range .Pages }}
{{ partial "project-card.html" . }}
{{ end }}
{{ end }}
</section>
<h2>Contact</h2>
<p>Here you can contact me personally for any questions or opportunities.</p>
{{ partial "contact-form.html" . }}
{{ end }}