fix: homepage template — render content directly, no article wrapper
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
aaf60139e3
commit
c469e69750
1 changed files with 1 additions and 26 deletions
|
|
@ -1,28 +1,3 @@
|
||||||
{{ define "content" }}
|
{{ define "content" }}
|
||||||
<article>
|
|
||||||
<header>
|
|
||||||
<h1>{{ .Site.Title }}</h1>
|
|
||||||
<p>{{ .Site.Params.description | default "An agent-first approach to web generation." }}</p>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
|
|
||||||
<section>
|
|
||||||
<h2>Recent</h2>
|
|
||||||
{{ range first 10 .Site.RegularPages }}
|
|
||||||
<article>
|
|
||||||
<header>
|
|
||||||
<h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3>
|
|
||||||
{{- if not .Date.IsZero }}
|
|
||||||
<p data-text="dim">
|
|
||||||
<time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "January 2006" }}</time>
|
|
||||||
{{- with .Params.eyebrow }} · {{ . }}{{ end }}
|
|
||||||
</p>
|
|
||||||
{{- end }}
|
|
||||||
</header>
|
|
||||||
{{- with .Description }}<p>{{ . }}</p>{{ end }}
|
|
||||||
</article>
|
|
||||||
{{ end }}
|
|
||||||
</section>
|
|
||||||
</article>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue