use json files to store data/ get css to work

This commit is contained in:
2025-11-17 03:13:46 +07:00
parent c772904165
commit a4b3f8ce06
9 changed files with 131 additions and 55 deletions

View File

@@ -1,8 +1,8 @@
{{ block "projects-partial" . }}
<h2 class="text-3xl font-bold mb-6">Projects</h2>
<h2 class="text-3xl font-bold m-6">Projects</h2>
{{ range . }} {{ template "project-partial-range" . }} {{ end}} {{ end }} {{
block "project-partial-range" . }}
<div class="mb-4">
<div class="m-4">
<a href="{{ .Link }}" class="text-blue-600 hover:underline">{{ .Title }}</a> -
{{ .Description }}
</div>