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

github.com/zerostaticthemes/hugo-serif-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Austin <rob@jugglerdigital.com>2020-08-19 15:46:33 +0300
committerRobert Austin <rob@jugglerdigital.com>2020-08-19 15:46:33 +0300
commit88f695c03c20c00cc4d5bf813f0c7de82954b09b (patch)
tree7245770c38c7f01e9775898c342f31fb9739c8b0 /layouts
parent8343acea0d5669d7a3a0a148a15c2e21b2453d3b (diff)
add github logo, remove header block
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/baseof.html2
-rw-r--r--layouts/_default/list.html2
-rw-r--r--layouts/index.html2
-rw-r--r--layouts/page/contact.html2
-rw-r--r--layouts/partials/header.html1
-rw-r--r--layouts/partials/main-menu.html5
-rw-r--r--layouts/services/list.html2
-rw-r--r--layouts/services/single.html2
-rw-r--r--layouts/team/list.html2
9 files changed, 7 insertions, 13 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index da4981e..d7da1b4 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -8,7 +8,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
{{ block "meta_tags" . }}{{end}}
<link rel="icon" type="image/png" href="{{ "favicon-32x32.png" | relURL }}">
- <link href="https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap" rel="stylesheet">
+ <link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap" rel="stylesheet">
<!-- CSS-->
{{ if .Site.IsServer }}
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 3d25ce8..38b2fe9 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,6 +1,4 @@
-{{ define "header_css" }}{{ end }}
{{ define "body_classes" }}page-default-list{{ end }}
-{{ define "header_classes" }}{{ end }}
{{ define "main" }}
<div class="intro">
diff --git a/layouts/index.html b/layouts/index.html
index 98a57f3..5801931 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,7 +1,5 @@
{{ define "title" }}{{ .Site.Title }}{{ end}}
-{{ define "header_css" }}{{ end }}
{{ define "body_classes" }}page-home{{ end }}
-{{ define "header_classes" }}header-transparent{{ end }}
{{ define "meta_tags" }}
<meta name="description" content="{{ .Site.Params.homepage_meta_tags.meta_description }}" />
diff --git a/layouts/page/contact.html b/layouts/page/contact.html
index 7dc60da..9fcc776 100644
--- a/layouts/page/contact.html
+++ b/layouts/page/contact.html
@@ -1,6 +1,4 @@
-{{ define "header_css" }}{{ end }}
{{ define "body_classes" }}page-contact{{ end }}
-{{ define "header_classes" }}{{ end }}
{{ define "main" }}
<div class="container pb-6 pt-6 pt-md-10 pb-md-10">
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 1dcc422..4da4375 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -8,5 +8,6 @@
</div>
{{ partial "main-menu.html" . }}
{{ partial "hamburger.html" . }}
+
</div>
</div>
diff --git a/layouts/partials/main-menu.html b/layouts/partials/main-menu.html
index 924c91b..bcd3a17 100644
--- a/layouts/partials/main-menu.html
+++ b/layouts/partials/main-menu.html
@@ -9,5 +9,10 @@
</a>
</li>
{{end}}
+ {{ if .Site.Params.header.github_link }}
+ <a href="{{ .Site.Params.header.github_link }}">
+ <svg role="img" viewBox="0 0 24 24" width="20" height="20" xmlns="http://www.w3.org/2000/svg"><title>GitHub icon</title><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg>
+ </a>
+ {{ end }}
</ul>
</div> \ No newline at end of file
diff --git a/layouts/services/list.html b/layouts/services/list.html
index 18f12eb..0a810c5 100644
--- a/layouts/services/list.html
+++ b/layouts/services/list.html
@@ -1,6 +1,4 @@
-{{ define "header_css" }}{{ end }}
{{ define "body_classes" }}page-services-list{{ end }}
-{{ define "header_classes" }}{{ end }}
{{ define "main" }}
<div class="intro">
diff --git a/layouts/services/single.html b/layouts/services/single.html
index 5f55883..ef4a7fd 100644
--- a/layouts/services/single.html
+++ b/layouts/services/single.html
@@ -1,6 +1,4 @@
-{{ define "header_css" }}{{ end }}
{{ define "body_classes" }}page-services-single{{ end }}
-{{ define "header_classes" }}{{ end }}
{{ define "main" }}
<div class="container pb-6 pt-6 pt-md-10 pb-md-10">
diff --git a/layouts/team/list.html b/layouts/team/list.html
index 6dd6de2..e78ca82 100644
--- a/layouts/team/list.html
+++ b/layouts/team/list.html
@@ -18,8 +18,6 @@
</div>
</div>
-
-
<div class="container">
<div class="row">
{{ range where .Pages.ByWeight ".Params.promoted" true }}