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
+1
View File
@@ -8,6 +8,7 @@ article {
color: var(--text); color: var(--text);
border-radius: 1.875rem; border-radius: 1.875rem;
padding: 3.5rem 2.5rem; padding: 3.5rem 2.5rem;
margin-bottom: 2rem;
} }
article h3 { article h3 {
-5
View File
@@ -2,8 +2,3 @@
title: "Hazem Krimi" title: "Hazem Krimi"
date: 2023-10-18T20:03:43+01:00 date: 2023-10-18T20:03:43+01:00
--- ---
## Contact
Here you can contact me personally for any questions or opportunities.
+11 -1
View File
@@ -5,7 +5,17 @@
{{ end }} {{ end }}
{{ define "main" }} {{ 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" . }} {{ partial "contact-form.html" . }}
{{ end }} {{ end }}