- content/dorveille.md: 'On the Craft of Invisible Systems' - assets/css/: ASW layer system (00-reset through 09-landing + Open Props) - layouts/: baseof, single, list, index — semantic HTML, no classes - hugo.toml: baseURL asw.trentuna.com, PostCSS + minify pipeline - package.json: postcss-import, postcss-custom-media, cssnano - .gitignore: excludes public/, node_modules, build artifacts Site builds to public/ via hugo --minify. nginx serves public/ statically.
42 lines
1.1 KiB
HTML
42 lines
1.1 KiB
HTML
{{ define "main" }}
|
|
<nav>
|
|
<ul><li><a href="/"><strong>{{ .Site.Title }}</strong></a></li></ul>
|
|
<ul>
|
|
<li><a href="/docs/">Docs</a></li>
|
|
<li><a href="/examples/">Examples</a></li>
|
|
</ul>
|
|
</nav>
|
|
|
|
<main>
|
|
<article data-layout="prose">
|
|
|
|
<header>
|
|
<hgroup>
|
|
<h1>{{ .Site.Title }}</h1>
|
|
<p>{{ .Site.Params.description | default "An agent-first approach to web generation." }}</p>
|
|
</hgroup>
|
|
</header>
|
|
|
|
<section>
|
|
<h2>Recent</h2>
|
|
{{ range first 10 .Site.RegularPages }}
|
|
<article>
|
|
<header>
|
|
<h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3>
|
|
<p data-text="dim">
|
|
<time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "January 2006" }}</time>
|
|
{{ with .Params.eyebrow }} · {{ . }}{{ end }}
|
|
</p>
|
|
</header>
|
|
{{ with .Summary }}<p>{{ . }}</p>{{ end }}
|
|
</article>
|
|
{{ end }}
|
|
</section>
|
|
|
|
</article>
|
|
</main>
|
|
|
|
<footer>
|
|
<small><a href="/">{{ .Site.Title }}</a> · {{ now.Format "2006" }}</small>
|
|
</footer>
|
|
{{ end }}
|