From 5ab638d8ed7956b45e8622252e79d88c429956bf Mon Sep 17 00:00:00 2001 From: Conrad Hoffmann Date: Wed, 24 Aug 2022 10:08:15 +0200 Subject: layout: use simple arrows as list pagination icons The currently used "triangle-headed" arrows are from the Unicode code block "Supplemental Arrows-C" [1], which seems to be not widely supported. This also applies to e.g. Roboto, which is being explicitly used in the CSS. Instead, use the "simple" arrows from the "Arrows" block, which is much more widely supported by fonts. [1]: https://en.wikipedia.org/wiki/Supplemental_Arrows-C closes #242 --- layouts/_default/list.html | 8 ++++---- layouts/partials/index/incidents.html | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'layouts') 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 @@
{{ if $paginator.HasPrev }} - ⭠   + ←   {{ T "prev" }} {{ else }} - ⭠   + ←   {{ T "prev" }} {{ end }} @@ -97,12 +97,12 @@ {{ if $paginator.HasNext }} {{ T "next" }}   - ⭢ + → {{ else }} {{ T "next" }}   - ⭢ + → {{ 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 @@
{{ if $paginator.HasPrev }} - ⭠   + ←   {{ T "prev" }} {{ else }} - ⭠   + ←   {{ T "prev" }} {{ end }} @@ -48,14 +48,14 @@ {{ if $paginator.HasNext }} {{ T "next" }}   - ⭢ + → {{ else }} {{ T "next" }}   - ⭢ + → {{ end }}
{{ end }} -{{ end }} \ No newline at end of file +{{ end }} -- cgit v1.2.3-70-g09d2 From f9d8202f976640838858782a2df271644132d13f Mon Sep 17 00:00:00 2001 From: Mantas Vilčinskas Date: Mon, 24 Oct 2022 21:44:39 +0300 Subject: v5.5 --- layouts/index.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts') 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 }}", -- cgit v1.2.3-70-g09d2 From f5778af36c3d4660fea475a000d7b1db5ae94e19 Mon Sep 17 00:00:00 2001 From: Mantas Vilčinskas Date: Mon, 24 Oct 2022 21:44:59 +0300 Subject: v5.5 --- layouts/partials/js.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts') 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'; /** -- cgit v1.2.3-70-g09d2 From 9f996c5fdc695c24414673234e9500e2eb68cb06 Mon Sep 17 00:00:00 2001 From: Mantas Vilčinskas Date: Mon, 24 Oct 2022 21:45:21 +0300 Subject: v5.5 --- layouts/partials/meta.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts') 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 `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} - +