aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--exampleSite/config.yml4
-rw-r--r--exampleSite/netlify.toml5
-rw-r--r--layouts/partials/footer.html2
-rw-r--r--layouts/partials/js.html2
-rw-r--r--layouts/partials/meta.html18
5 files changed, 16 insertions, 15 deletions
diff --git a/exampleSite/config.yml b/exampleSite/config.yml
index 85c5e26..5015890 100644
--- a/exampleSite/config.yml
+++ b/exampleSite/config.yml
@@ -83,14 +83,14 @@ defaultContentLanguage: en
# What is the hostname or path to the root?
# Where is the site hosted?
#
-# 💥 cState & Hugo don’t support / in
+# 💥 cState & Hugo don’t support '/' in
# production use. It will break RSS
# feeds and breaks permalinks since
# version 3. If you are just testing,
# localhost should automatically work.
#
# Example: https://status.example.com/
-baseURL: https://status.example.com
+baseURL: https://cstate.mnts.lt
############################################################
# +------------------------------------------------------+ #
diff --git a/exampleSite/netlify.toml b/exampleSite/netlify.toml
index e387e8c..d649777 100644
--- a/exampleSite/netlify.toml
+++ b/exampleSite/netlify.toml
@@ -11,4 +11,7 @@
NODE_ENV = "production"
[context.deploy-preview]
- command = "hugo"
+ command = "hugo -b $DEPLOY_PRIME_URL"
+
+[context.branch-deploy]
+ command = "hugo -b $DEPLOY_PRIME_URL" \ No newline at end of file
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 2dcea70..6187f61 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -4,7 +4,7 @@
<div class="footer">
<div class="contain">
- <p><strong class="bold">{{ now.Year }} &copy; {{ .Site.Title }}</strong>
+ <p><strong class="bold">&copy; {{ .Site.Title }}, {{ now.Year }}</strong>
&nbsp; • &nbsp; <a href="#">{{ T "backToTop" }}</a>
</p>
diff --git a/layouts/partials/js.html b/layouts/partials/js.html
index af3bb80..1dd36fd 100644
--- a/layouts/partials/js.html
+++ b/layouts/partials/js.html
@@ -3,7 +3,7 @@
* Dev toolset
*/
- console.log('cState v3.0.0 - Stable 2019-01-24 - https://github.com/cstate/cstate');
+ console.log('cState v3.1.0 - dev - https://github.com/cstate/cstate');
document.getElementsByTagName('html')[0].className = 'js';
/**
diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html
index df6b8d0..e2a5056 100644
--- a/layouts/partials/meta.html
+++ b/layouts/partials/meta.html
@@ -6,13 +6,13 @@
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Data -->
- <meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ .Summary }}{{ end }}">
- <title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} — {{ end }}{{ .Site.Title }}{{ end }}</title>
+ <meta name="description" content="{{ with .Summary }}{{ . }}{{ else }}{{ .Site.Params.description }}{{ end }}">
+ <title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} | {{ end }}{{ .Site.Title }}{{ end }}</title>
<link rel="canonical" href="{{ .Permalink }}">
{{ range .AlternativeOutputFormats -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
- <meta name="generator" content="cState v3.0.0 - Stable 2019-01-24">
+ <meta name="generator" content="cState v3.1.0 - dev">
<meta name="theme-color" content="#{{ .Site.Params.brand }}">
<script>
var themeBrandColor = '#{{ .Site.Params.brand }}';
@@ -100,8 +100,8 @@
.headline { font-size: 20px; }
.bold { color: #000; }
- .hinted { color: #777; }
- .faded { color: #999; }
+ .hinted { color: #737373; }
+ .faded { color: #737373; }
.clean { margin: 0; }
@@ -299,14 +299,12 @@
padding: 16px;
}
- .status-ok .announcement-box { border: 2px solid #{{ .Site.Params.ok }}; }
.status-disrupted .announcement-box { border: 2px solid #{{ .Site.Params.disrupted }}; }
.status-down .announcement-box { border: 2px solid #{{ .Site.Params.down }}; }
.status-notice .announcement-box { border: 2px solid #{{ .Site.Params.notice }}; }
-
-
- .status-ok .status-homepage .announcement-box { border-bottom-width: 1px; }
-
+ .status-disrupted .announcement-box,
+ .status-down .announcement-box,
+ .status-notice .announcement-box { border-top: 0; }
/**
* Dynamically show individual component statuses