mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-12 01:14:22 +00:00
Convert docs to docsy
This commit is contained in:
16
site/themes/docsy/layouts/blog/content.html
Normal file
16
site/themes/docsy/layouts/blog/content.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<div class="td-content">
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }}
|
||||
<div class="td-byline mb-4">
|
||||
{{ with .Params.author }}{{ T "post_byline_by" }} <b>{{ . | markdownify }}</b> |{{ end}}
|
||||
<time datetime="{{ $.Date.Format "2006-01-02" }}" class="text-muted">{{ $.Date.Format $.Site.Params.time_format_blog }}</time>
|
||||
</div>
|
||||
{{ .Content }}
|
||||
{{ if (.Site.DisqusShortname) }}
|
||||
<br />
|
||||
{{ partial "disqus-comment.html" . }}
|
||||
<br />
|
||||
{{ end }}
|
||||
|
||||
{{ partial "pager.html" . }}
|
||||
</div>
|
||||
Reference in New Issue
Block a user