github.com/e154/smart-home@v0.17.2-0.20240311175135-e530a6e5cd45/doc/themes/docsy/layouts/blog/content.html (about)

     1  <div class="td-content">
     2  	<h1>{{ .Title }}</h1>
     3  	{{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }}
     4  	<div class="td-byline mb-4">
     5  		{{ with .Params.author }}{{ T "post_byline_by" }} <b>{{ . | markdownify }}</b> |{{ end}}
     6  		<time datetime="{{  $.Date.Format "2006-01-02" }}" class="text-muted">{{ $.Date.Format $.Site.Params.time_format_blog  }}</time>
     7  	</div>
     8  	<header class="article-meta">
     9  		{{ $context := . }}
    10  		{{ if .Site.Params.Taxonomy.taxonomyPageHeader }}
    11  			{{ range $index, $taxo := .Site.Params.Taxonomy.taxonomyPageHeader }}
    12  				{{ partial "taxonomy_terms_article.html" (dict "context" $context "taxo" $taxo ) }}
    13  			{{ end }}
    14  		{{ else }}
    15  			{{ range $taxo, $taxo_map := .Site.Taxonomies }}
    16  				{{ partial "taxonomy_terms_article.html" (dict "context" $context "taxo" $taxo ) }}
    17  			{{ end }}
    18  		{{ end }}
    19  		{{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) }}
    20  			{{ partial "reading-time.html" . }}
    21  		{{ end }}
    22  	</header>
    23  	{{ .Content }}
    24  	{{ if (.Site.Params.DisqusShortname) }}
    25  		<br />
    26  		{{ partial "disqus-comment.html" . }}
    27  		<br />
    28  	{{ end }}
    29  
    30  	{{ partial "pager.html" . }}
    31  </div>