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: 93dac998accee6811179bada5a27c1816858622a (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-fill"></i>
    </a>
    
  </div>
  <div class="page-title-and-info" style="text-align: center">
    <h1 class="page-title" {{ if not (eq .Kind `page`) }}style="margin-bottom: 1em;"{{ end }}>
      {{ 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>