aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
authorMantas <11616378+mistermantas@users.noreply.github.com>2018-07-23 13:12:20 +0300
committerMantas <11616378+mistermantas@users.noreply.github.com>2018-07-23 13:12:20 +0300
commitac553a567f930648a1f350d298d60ef091858c7a (patch)
treef8109278676debde9884befebe22ae3c39b5a48b /layouts/partials
parentd7500b363fee49307304fa623f74649cb408b532 (diff)
Work towards a release candidate
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/custom/homepage-summary.html8
-rw-r--r--layouts/partials/footer.html9
-rw-r--r--layouts/partials/header.html7
-rw-r--r--layouts/partials/meta.html6
4 files changed, 28 insertions, 2 deletions
diff --git a/layouts/partials/custom/homepage-summary.html b/layouts/partials/custom/homepage-summary.html
new file mode 100644
index 0000000..1dadab6
--- /dev/null
+++ b/layouts/partials/custom/homepage-summary.html
@@ -0,0 +1,8 @@
+<!--
+
+This file can be used to add custom HTML
+to your cState powered status page.
+
+https://github.com/mistermantas/cstate/wiki/Customization
+
+-->
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index d6b5486..f9c49d8 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,3 +1,6 @@
+{{ if .Site.Params.enableCustomHTML }}
+ {{ partial "custom/above-footer" . }}
+{{ end }}
<div class="footer">
<div class="contain">
@@ -8,6 +11,10 @@
<p>{{ .Site.Params.description }}</p>
<!-- Please keep this one around to help cState grow <3 -->
- <small class="copyright faded">Powered by <a href="https://github.com/mistermantas/cstate">cState</a></small>
+ <small class="copyright faded">Powered by <a href="https://github.com/mistermantas/cstate">cState <b>v2.0-rc1</b></a></small>
</div>
</div>
+
+{{ if .Site.Params.enableCustomHTML }}
+ {{ partial "custom/below-footer" . }}
+{{ end }}
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 94bef80..cfe6109 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,3 +1,6 @@
+{{ if .Site.Params.enableCustomHTML }}
+ {{ partial "custom/above-header" . }}
+{{ end }}
{{ if .Site.Params.useLargeHeaderDesign }}
<div class="header header--large">
@@ -24,3 +27,7 @@
</div>
</div>
{{ end }}
+
+{{ if .Site.Params.enableCustomHTML }}
+ {{ partial "custom/below-header" . }}
+{{ end }}
diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html
index 7b45778..b5b7568 100644
--- a/layouts/partials/meta.html
+++ b/layouts/partials/meta.html
@@ -45,6 +45,8 @@
box-sizing: inherit;
}
+ ::selection { background: #B4D5FF; }
+
hr {
border: 0;
border-bottom: 1px solid #ccc;
@@ -280,5 +282,7 @@
}
}
</style>
-
+ {{ if .Site.Params.enableCustomHTML }}
+ {{ partial "custom/meta" . }}
+ {{ end }}
</head>