mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-01 18:00:26 +00:00
34 lines
1007 B
HTML
34 lines
1007 B
HTML
{{ define "styles" }}
|
|
{{ $styles := resources.Get "css/index.css" | toCSS | minify }}
|
|
|
|
<link rel="stylesheet" href="{{ $styles.Permalink }}" />
|
|
{{ end }}
|
|
{{ define "main" }}
|
|
<section>
|
|
<h2>Projects</h2>
|
|
<p>These are all the projects I worked on personally and professionally.</p>
|
|
{{ range (where .Site.Pages "Section" "projects") }}
|
|
{{ range .Pages }}
|
|
{{ 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>
|
|
|
|
<section>
|
|
<h2>Contact</h2>
|
|
<p>Here you can contact me personally for any questions or opportunities.</p>
|
|
|
|
{{ partial "contact-form.html" . }}
|
|
</section>
|
|
{{ end }}
|