- 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.
38 lines
946 B
HTML
38 lines
946 B
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>
|
|
<h1>{{ .Title }}</h1>
|
|
{{ with .Description }}<p>{{ . }}</p>{{ end }}
|
|
</header>
|
|
|
|
<section>
|
|
{{ range .Pages }}
|
|
<article>
|
|
<header>
|
|
<h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
|
|
<p data-text="dim">
|
|
<time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "January 2006" }}</time>
|
|
</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 }}
|