Migrate garden to Hugo + ASW pack — 30 writings, 147 pages
20 writings from vault source (~/.napkin/writing/), 10 extracted from HTML. ASW Hugo pack as theme, pure ASW CSS (no theme.css). garden.trentuna.com now serves Hugo static output. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
852b1eabe2
commit
9226c270ae
186 changed files with 18702 additions and 0 deletions
18
hugo/layouts/partials/head.html
Normal file
18
hugo/layouts/partials/head.html
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>
|
||||
{{- if .IsHome -}}
|
||||
{{ .Site.Title }}
|
||||
{{- else -}}
|
||||
{{ .Title }} · {{ .Site.Title }}
|
||||
{{- end -}}
|
||||
</title>
|
||||
{{- with .Description }}<meta name="description" content="{{ . }}">{{- end }}
|
||||
{{- if not .Description }}{{- with .Site.Params.description }}<meta name="description" content="{{ . }}">{{- end }}{{- end }}
|
||||
|
||||
<!-- ASW framework CSS only — no custom theme overrides -->
|
||||
<link rel="stylesheet" href="{{ "css/asw.css" | absURL }}">
|
||||
|
||||
{{- range .AlternativeOutputFormats -}}
|
||||
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">
|
||||
{{- end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue