Hugo site scaffold with blog and hardware pages, layouts, styles, fonts, and image assets.
8 lines
298 B
HTML
8 lines
298 B
HTML
{{ define "main" }}
|
|
<article class="entry">
|
|
<h1 class="entry__title">{{ .Title }}</h1>
|
|
{{ with .Params.featured }}{{ partial "image.html" (dict "path" . "max" 1200 "class" ($.Params.featuredClass | default "post__figure") "alt" $.Params.featuredAlt) }}{{ end }}
|
|
{{ .Content }}
|
|
</article>
|
|
{{ end }}
|