aboutsummaryrefslogblamecommitdiff
path: root/layouts/partials/single/header.html
blob: f5ece1f02a4ccbfbfc78c8c9da8001a08c2b6748 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12


                                                                                          

                                                                                                                                       






                                                                                                                                        
<h1 class="post-title fw-semibold"><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h1>
{{ if .Date }}
  <div class="d-flex align-items-center mb-4 text-muted">
      <span class="d-flex align-items-center" title="{{- .Date | time.Format (or .Site.Params.dateFormat.published "02 Jan 2006") -}}">
        {{ partial "icon.html" "calendar" }}
      {{- .Date | time.Format (or .Site.Params.dateFormat.published "02 Jan 2006") -}}
      </span>
  </div>
{{ end }}
{{ if .Params.Image }}
  <img class="d-block img-fluid mb-2 rounded border shadow" max-width="800" loading="lazy" src="{{ .RelPermalink }}{{.Params.Image}}" />
{{ end }}