mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-01 18:00:26 +00:00
Add 404, blog section and unify the card partial
This commit is contained in:
@@ -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
|
||||
---
|
||||
@@ -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
|
||||
---
|
||||
@@ -0,0 +1,8 @@
|
||||
{{ define "styles" }}
|
||||
{{ $styles := resources.Get "css/index.css" | toCSS | minify }}
|
||||
|
||||
<link rel="stylesheet" href="{{ $styles.Permalink }}" />
|
||||
{{ end }}
|
||||
{{ define "main" }}
|
||||
<h2>Page Not Found</h2>
|
||||
{{ end }}
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
<section>
|
||||
{{ range .Pages }}
|
||||
{{ partial "project-card.html" . }}
|
||||
{{ partial "card.html" . }}
|
||||
{{ end }}
|
||||
</section>
|
||||
{{ end }}
|
||||
|
||||
+11
-1
@@ -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>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{{ $styles := resources.Get "css/partials/project-card.css" | toCSS | minify }}
|
||||
{{ $styles := resources.Get "css/partials/card.css" | toCSS | minify }}
|
||||
|
||||
<link rel="stylesheet" href="{{ $styles.Permalink }}" />
|
||||
|
||||
Reference in New Issue
Block a user