Welcome to mirror list, hosted at ThFree Co, Russian Federation.

post-article.html « components « partials « layouts - github.com/wangchucheng/hugo-eureka.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0cbadd8f6264e1ef9d43c1f8395a3b4a990c5e18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<article class="prose max-w-none">
  <h1 class="mb-4">{{ .Title }}</h1>

  {{ partial "components/post-metadata" . }}

  {{ $featured := partial "utils/get-featured" . }}
  {{ with $featured }}
    {{ . }}
  {{ end }}

  {{ .Content }}
</article>