aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorMantas Vilčinskas <hi@mnts.lt>2022-10-28 15:32:15 +0300
committerGitHub <noreply@github.com>2022-10-28 15:32:15 +0300
commit236f908455b9ae9541cf947721f1bfabf9d39606 (patch)
tree658f293ac194a06ad4d0cce32ca9ad6c5702cdd9 /layouts
parent04bd44a5cf60fd23b9a49163b590bc439690cae8 (diff)
parent7b99f99332d80eb1383561d45e847213cec71d37 (diff)
cstate v5.5 merge
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/list.html8
-rw-r--r--layouts/index.json2
-rw-r--r--layouts/issues/single.html2
-rw-r--r--layouts/partials/index/incidents.html10
-rw-r--r--layouts/partials/js.html2
-rw-r--r--layouts/partials/meta.html2
6 files changed, 13 insertions, 13 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 46142eb..51605c1 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -76,12 +76,12 @@
<div class="center">
{{ if $paginator.HasPrev }}
<a href="{{ $paginator.Prev.URL }}#incidents">
- ⭠ &nbsp;
+ ← &nbsp;
{{ T "prev" }}
</a>
{{ else }}
<span class="faded">
- ⭠ &nbsp;
+ ← &nbsp;
{{ T "prev" }}
</span>
{{ end }}
@@ -97,12 +97,12 @@
{{ if $paginator.HasNext }}
<a href="{{ $paginator.Next.URL }}#incidents">
{{ T "next" }} &nbsp;
- ⭢
+ →
</a>
{{ else }}
<span class="faded">
{{ T "next" }} &nbsp;
- ⭢
+ →
</span>
{{ end }}
</div>
diff --git a/layouts/index.json b/layouts/index.json
index c770bad..55d1339 100644
--- a/layouts/index.json
+++ b/layouts/index.json
@@ -1,6 +1,6 @@
{{ $incidents := where .Site.RegularPages "Params.section" "issue" }}{{ $active := where $incidents "Params.resolved" "=" false }}{{ $isNotice := where $active "Params.severity" "=" "notice" }}{{ $isDisrupted := where $active "Params.severity" "=" "disrupted" }}{{ $isDown := where $active "Params.severity" "=" "down" }}{
"is": "index",
- "cStateVersion": "5.4",
+ "cStateVersion": "5.5",
"apiVersion": "2.0",
"title": "{{ .Site.Title }}",
"languageCodeHTML": "{{ .Site.LanguageCode }}",
diff --git a/layouts/issues/single.html b/layouts/issues/single.html
index 402c794..0dd8052 100644
--- a/layouts/issues/single.html
+++ b/layouts/issues/single.html
@@ -21,7 +21,7 @@
<p>{{ T "lastChecked" }}:
{{ if .Site.Params.dateFormat }}
- {{ .Lastmod.UTC.Format .Site.Params.dateFormat }}
+ {{ .Lastmod.Format .Site.Params.dateFormat }}
{{ else }}
{{ .Lastmod.Format "January 2, 2006 at 3:04 PM" }}
{{ end }}
diff --git a/layouts/partials/index/incidents.html b/layouts/partials/index/incidents.html
index bf312e9..d627997 100644
--- a/layouts/partials/index/incidents.html
+++ b/layouts/partials/index/incidents.html
@@ -27,12 +27,12 @@
<div class="center">
{{ if $paginator.HasPrev }}
<a href="{{ $paginator.Prev.URL }}#incidents">
- ⭠ &nbsp;
+ ← &nbsp;
{{ T "prev" }}
</a>
{{ else }}
<span class="faded">
- ⭠ &nbsp;
+ ← &nbsp;
{{ T "prev" }}
</span>
{{ end }}
@@ -48,14 +48,14 @@
{{ if $paginator.HasNext }}
<a href="{{ $paginator.Next.URL }}#incidents">
{{ T "next" }} &nbsp;
- ⭢
+ →
</a>
{{ else }}
<span class="faded">
{{ T "next" }} &nbsp;
- ⭢
+ →
</span>
{{ end }}
</div>
{{ end }}
-{{ end }} \ No newline at end of file
+{{ end }}
diff --git a/layouts/partials/js.html b/layouts/partials/js.html
index 46ee732..543f92f 100644
--- a/layouts/partials/js.html
+++ b/layouts/partials/js.html
@@ -3,7 +3,7 @@
* Dev toolset
*/
- console.log('cState v5.4 - https://github.com/cstate/cstate');
+ console.log('cState v5.5 - https://github.com/cstate/cstate');
document.getElementsByTagName('html')[0].className = 'js';
/**
diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html
index fe8a1a4..b56d61f 100644
--- a/layouts/partials/meta.html
+++ b/layouts/partials/meta.html
@@ -12,7 +12,7 @@
{{ 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 v5.4 - https://github.com/cstate/cstate">
+ <meta name="generator" content="cState v5.5 - https://github.com/cstate/cstate">
<meta name="theme-color" content="{{ .Site.Params.brand }}">
<script>
var themeBrandColor = '{{ .Site.Params.brand }}';