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
+20
View File
@@ -0,0 +1,20 @@
{{ $styles := resources.Get "css/partials/card.css" | toCSS | minify }}
<link rel="stylesheet" href="{{ $styles.Permalink }}" />
<article>
<div>
<h3>{{ .Title }}</h3>
<p>{{ .Params.description }}</p>
<div id="links">
<a class="read-more" href="{{ .Permalink }}">
Read more {{ readFile "assets/icons/arrow.svg" | safeHTML }}
</a>
{{ with .Params.demo }}
<a class="demo" href="{{ . }}" target="_blank">
Demo {{ readFile "assets/icons/eye.svg" | safeHTML }}
</a>
{{ end }}
</div>
</div>
</article>