change projects section philosophy + fix bug with load more btn

This commit is contained in:
Michi 2025-04-05 17:51:53 +02:00
parent ebe56d70a9
commit 0fe7cfa463
5 changed files with 47 additions and 7 deletions

View file

@ -1,6 +1,12 @@
<div id="projects" class="projects">
<h1 class="fade-up">{{ T "projects" }}</h1>
<div class="tag-filter fade-up">
{{ with .Site.GetPage "projects" }}
<div class="projects-intro fade-up">
<h1>{{ .Title }}</h1>
<p>{{ .Content }}</p>
</div>
{{ end }}
<div class="tag-filter fade-up hidden">
{{ range .Site.Data.tags }}
<label class="tag" for="tag-{{ .slug }}" >
<input class="tag-checkbox" id="tag-{{ .slug }}" value="{{ .slug }}" type="checkbox" {{ if .checked }} checked {{ end }}>