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

github.com/urjaacharya/redgood.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r--layouts/partials/header.html89
1 files changed, 0 insertions, 89 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
deleted file mode 100644
index 8d0719b..0000000
--- a/layouts/partials/header.html
+++ /dev/null
@@ -1,89 +0,0 @@
-{{ if .IsHome }}
-<header class="home-page-header">
- <div class="header-image-container">
- <div class="header-image">
- <img
- src="{{ .Site.Params.about.profileImage | relURL }}"
- alt="profile image of {{ .Site.Params.author }}"
- />
- </div>
- </div>
- <div class="header-info">
- <h1 class="main-title">{{- .Site.Title -}}</h1>
- <p class="about-narrative">
- {{ .Site.Params.about.narrative | markdownify }}
- </p>
- {{ $width := mul (len .Site.Params.social) 2 }}
- <div class="social-info" style="width: {{ $width }}em;">
- {{- range $key, $val := .Site.Params.social -}}
- <a class="header-icon" href="{{ $val.url }}" aria-label="{{ $key }}"
- ><i class="{{ $val.icon }}"></i>
- </a>
- {{- end -}}
- </div>
- </div>
-</header>
-{{ else }}
-<header class="regular-page-header">
- <div
- style="
- display: flex;
- justify-content: space-between;
- width: 98%;
- margin-bottom: 0.5em;
- "
- >
- <a class="header-icon" href="{{ `/` | relURL }}" aria-label="home page">
- <i class="bi bi-house-door"></i>
- </a>
- <div
- class="share-links"
- style="
- display: flex;
- margin-left: 1em;
- align-items: center;
- width: 120px;
- justify-content: space-between;
- "
- >
- {{ $url := printf "%s" .URL | absLangURL }}
- <a
- class="header-icon"
- href="mailto:?subject={{ print .Title ` by ` .Site.Params.author }}&amp;body={{ $url }}"
- target="_self"
- rel="noopener"
- aria-label="share by email"
- ><i class="bi bi-envelope"></i
- ></a>
- <a
- class="header-icon"
- href="https://facebook.com/sharer/sharer.php?u={{ $url }}"
- target="_blank"
- rel="noopener"
- aria-label="share on facebook"
- ><i class="bi bi-facebook"></i
- ></a>
- <a
- class="header-icon"
- href="https://twitter.com/intent/tweet/?text={{ print .Title ` by ` .Site.Params.author }}&amp;url={{ $url }}"
- target="_blank"
- rel="noopener"
- aria-label="share on twitter"
- ><i class="bi bi-twitter"></i
- ></a>
- </div>
- </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; {{ .Site.Params.author }}
- </p>
- {{ if .Description }}
- <p class="document-description">"{{ .Description }}"</p>
- {{ end }} {{ end }}
- </div>
-</header>
-{{ end }}