feat: add SCSS styles and HTML templates for blog layout

This commit is contained in:
Evrard Van Espen
2025-10-30 10:04:44 +00:00
committed by Evrard Van Espen (aider)
parent 2d9eabc53f
commit fdccf7d0ac
6 changed files with 286 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
<section id="posts">
<h2 class="section-title">~ Posts</h2>
{{ range .Posts }}
<div class="article">
<a href="{{ .PathHtml }}">
<article>
<p class="date">{{ .DateStr }}</p>
<div class="right">
<h3>{{ .Title }}</h3>
<p class="description">{{ .Description }}</p>
<p class="reading-time">{{ .ReadTime }} minutes read</p>
<div class="article-tags">
{{ range .Tags }}
<div class="tag">{{ . }}</div>
{{ end }}
</div>
</div>
</article>
</a>
</div>
{{end}}
</section>