update: layouts/blog
fix: using T shortcode Update layouts/blog/list.html Co-authored-by: Tim Bannister <tim@scalefactory.com>pull/47270/head
parent
c0a34fbdd5
commit
ac4a08abd6
|
@ -587,6 +587,8 @@ other = """<p>Items on this page refer to third party products or projects that
|
||||||
[thirdparty_message_vendor]
|
[thirdparty_message_vendor]
|
||||||
other = """Items on this page refer to vendors external to Kubernetes. The Kubernetes project authors aren't responsible for those third-party products or projects. To add a vendor, product or project to this list, read the <a href="/docs/contribute/style/content-guide/#third-party-content">content guide</a> before submitting a change. <a href="#third-party-content-disclaimer">More information.</a>"""
|
other = """Items on this page refer to vendors external to Kubernetes. The Kubernetes project authors aren't responsible for those third-party products or projects. To add a vendor, product or project to this list, read the <a href="/docs/contribute/style/content-guide/#third-party-content">content guide</a> before submitting a change. <a href="#third-party-content-disclaimer">More information.</a>"""
|
||||||
|
|
||||||
|
[translated_by]
|
||||||
|
other = "Translated By"
|
||||||
|
|
||||||
[ui_search_placeholder]
|
[ui_search_placeholder]
|
||||||
other = "Search this site"
|
other = "Search this site"
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
<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}}
|
||||||
|
{{ with .Params.translator }}{{ T "translated_by" }} <b>{{ . | markdownify }}</b> |{{ end }}
|
||||||
|
<time datetime="{{ $.Date.Format "2006-01-02" }}" class="text-muted">{{ $.Date.Format $.Site.Params.time_format_blog }}</time>
|
||||||
|
</div>
|
||||||
|
<header class="article-meta">
|
||||||
|
{{ partial "taxonomy_terms_article_wrapper.html" . }}
|
||||||
|
{{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) }}
|
||||||
|
{{ partial "reading-time.html" . }}
|
||||||
|
{{ end }}
|
||||||
|
</header>
|
||||||
|
{{ .Content }}
|
||||||
|
{{ if (.Site.Params.DisqusShortname) }}
|
||||||
|
<br />
|
||||||
|
{{ partial "disqus-comment.html" . }}
|
||||||
|
<br />
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ partial "pager.html" . }}
|
||||||
|
</div>
|
Loading…
Reference in New Issue