Improve formatting of example code

This commit is contained in:
Joe Mooring 2024-08-23 07:19:38 -07:00 committed by GitHub
parent e5681ad01e
commit ec52c7ba10
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,7 +33,7 @@ content/
And these templates: And these templates:
{{< code file=layouts/_default/list.html >}} {{< code file=layouts/_default/list.html >}}
{{ range .Pages.ByWeight}} {{ range .Pages.ByWeight }}
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2> <h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
{{ end }} {{ end }}
{{< /code >}} {{< /code >}}