Welcome to mirror list, hosted at ThFree Co, Russian Federation.

regularHeader.html « partials « layouts - github.com/urjaacharya/redgood.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8f3f144f546392cfee4fb5334a8900103a2f17ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<header class="regular-page-header shadow round-corner">
  <div
    style="
      display: flex;
      justify-content: space-between;
      width: 98%;
      margin-bottom: 0.5em;
    "
  >
    <a class="primary-icon" href="{{ `/` | relURL }}" aria-label="home page">
      <i class="bi bi-house-door"></i>
    </a>
    {{ partial "share" . }}
  </div>
  <div class="page-title-and-info" style="text-align: center">
    <h1 class="page-title">
      {{ if or (eq .Kind "taxonomy") (eq .Kind "term") }}#{{ end }}{{ .Title }}
    </h1>
    {{ if eq .Kind "page" }}
    <p class="document-date">
      {{ dateFormat .Site.Params.theme.dateFormat .Date }} &middot; {{ .Params.author }}
    </p>
    {{ if .Description }}
    <p class="document-description">"{{ .Description }}"</p>
    {{ end }} {{ end }}
  </div>
</header>