first commit

This commit is contained in:
Blake Ridgway
2026-03-07 21:16:51 -06:00
parent 21bd542469
commit 03fcf37beb
33 changed files with 3532 additions and 0 deletions

29
templates/post.html Normal file
View File

@@ -0,0 +1,29 @@
{{define "title"}}{{.Title}} — Ridgway Systems{{end}}
{{define "meta-desc"}}{{.Description}}{{end}}
{{define "og-title"}}{{.Title}} — Ridgway Systems{{end}}
{{define "og-desc"}}{{.Description}}{{end}}
{{define "og-type"}}article{{end}}
{{define "og-url"}}https://ridgwaysystems.org/blog/{{.Slug}}{{end}}
{{define "tw-title"}}{{.Title}} — Ridgway Systems{{end}}
{{define "tw-desc"}}{{.Description}}{{end}}
{{define "content"}}
<article class="post">
<header class="post-header">
<h1>{{.Title}}</h1>
<div class="post-meta">
<time datetime="{{.ParsedDate.Format "2006-01-02"}}">{{formatDate .ParsedDate}}</time>
{{if .Tags}}
&mdash;
{{range .Tags}}<a href="/blog?tag={{.}}" class="tag">#{{.}}</a> {{end}}
{{end}}
</div>
</header>
<div class="post-content">
{{.Content}}
</div>
<footer class="post-footer">
<a href="/blog">&larr; Back to build log</a>
</footer>
</article>
{{end}}