repos
/ orchard main

orchard

mirror

Every site I host, in one repo, along with the Cloudflare Tunnel and Caddy that front them. It's all Go, Vite, and SQLite, and it runs on a desktop at home with nothing listening on an inbound port.

blogbuncaddycloudflare-tunneldockergogolanghomelabhtml-templatemonorepoself-hostedseosqlitestatic-sitetypstuptime-monitoringviteweb-analytics

533 B · 21 lines · HTML Raw History
 1{{ define "content" }}
 2<div class="container mt-5">
 3  <div class="row">
 4    <div class="col-sm-6">
 5      <h1 class="mb-3 fw-bolder">{{ .Heading }}</h1>
 6    </div>
 7    <div class="col-sm-6">
 8      {{- template "search_form" .Query }}
 9    </div>
10  </div>
11</div>
12
13{{- with .Latest }}
14{{- template "post_latest" . }}
15{{- end }}
16
17{{- if .RandomPosts }}
18{{- template "post_strip" dict "Label" "Random posts" "Blurb" "If you don't know what you're looking for check out some of my older posts." "Posts" .RandomPosts }}
19{{- end }}
20{{ end }}