Add post: 暗黑能天使
This commit is contained in:
12
layouts/partials/components/post-article.html
Normal file
12
layouts/partials/components/post-article.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<article class="prose">
|
||||
<h1 class="mb-4">{{ .Title }}</h1>
|
||||
|
||||
{{ partial "components/post-metadata" . }}
|
||||
|
||||
{{ $featured := partial "utils/get-featured" . }}
|
||||
{{ with $featured }}
|
||||
{{ . }}
|
||||
{{ end }}
|
||||
|
||||
{{ .Content }}
|
||||
</article>
|
||||
Reference in New Issue
Block a user