add post and extra legal, revamp home page

This commit is contained in:
2026-03-09 00:32:57 -06:00
parent d3efb33db8
commit f02bd683da
10 changed files with 266 additions and 47 deletions
+12 -2
View File
@@ -53,6 +53,7 @@
{{- partial "list-posts.html" . -}}
{{ end }}
{{ end }}
<a class="view-all" href="/posts/">View all posts &rarr;</a>
</div>
{{ $projects := where .Site.RegularPages "Params.type" "projects" }}
@@ -66,7 +67,8 @@
<div class="home-project-meta">
{{ with .Params.status }}
{{ $color := $project.Params.statusColor | default "#9e9e9e" }}
<span class="home-project-status" style="color: {{ $color }}; border: 1px solid {{ $color }}; background-color: {{ $color }}20;">{{ . }}</span>
<span class="home-project-status"
style="color: {{ $color }}; border: 1px solid {{ $color }}; background-color: {{ $color }}20;">{{ . }}</span>
&middot;
{{ end }}
Updated {{ $project.Lastmod.Format "Jan 2, 2006" }}
@@ -78,6 +80,14 @@
{{ end }}
</div>
{{ end }}
<div class="home-connect">
<p>
Subscribe via <a href="{{ "/index.xml" | absURL }}">RSS</a><a href="https://aboutfeeds.com/" class="rss-info" title="What is RSS?" aria-label="What is RSS?">?</a>,
send feedback to <a href="mailto:feedback@fosscat.com">feedback@fosscat.com</a>,
or check out the <a href="https://git.fosscat.com/n8r/fosscat-site">source code</a>.
</p>
</div>
{{ end }}
{{ end }}