fdde64265e
Scaffold the bus.saillant.cc blog: Hugo site config, a hand-written vendored theme (terminal-bus, zero deps), and the first post plus an about page. The theme is minimal on purpose: single baseof/home/page/section layouts and one CSS file, styled as a terminal/hackerspace prompt (green-on-dark, ASCII banner, monospace). No upstream theme pulled in, per the no-blind-dependency policy. Consumes journal entries later (Task 4); build output feeds deploy.sh (Task 8). blog/public/ and blog/resources/ stay gitignored.
13 lines
359 B
HTML
13 lines
359 B
HTML
{{ define "main" }}
|
|
<p class="intro">{{ site.Params.description }}</p>
|
|
<h2><span class="prompt">$</span> ls -lt posts/</h2>
|
|
<ul class="post-list">
|
|
{{ range where site.RegularPages "Section" "posts" }}
|
|
<li>
|
|
<span class="date">{{ .Date.Format "2006-01-02" }}</span>
|
|
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
|
</li>
|
|
{{ end }}
|
|
</ul>
|
|
{{ end }}
|