aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
authorMantas Vilčinskas <hi@mnts.lt>2022-02-12 11:24:26 +0200
committerGitHub <noreply@github.com>2022-02-12 11:24:26 +0200
commitfadb79e4e7cfc0f26c06fd6630952f76537b29b9 (patch)
treee5779d2cb51f5d6bb58956d8052abfa363af374e /layouts/partials
parent1b38c11f977115be1618c1ec1600441823f7e7cf (diff)
parent4278adfa68955602bf7f79adc42f177e63d34905 (diff)
cState v5.3 #218
cState v5.3
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/index/components.html8
-rw-r--r--layouts/partials/js.html2
-rw-r--r--layouts/partials/meta.html7
3 files changed, 15 insertions, 2 deletions
diff --git a/layouts/partials/index/components.html b/layouts/partials/index/components.html
index d3d67bd..835c523 100644
--- a/layouts/partials/index/components.html
+++ b/layouts/partials/index/components.html
@@ -65,6 +65,14 @@
</span>
{{ end }}
+ {{ with .link }}
+ <span class="span-icon">
+ <a href="{{ . }}" class="link-style">
+ 🔗
+ </a>
+ </span>
+ {{ end }}
+
<span class="component-status">
{{ if $thisIsDown }}
{{ T "thisIsDown" }}
diff --git a/layouts/partials/js.html b/layouts/partials/js.html
index 88948df..1b9c554 100644
--- a/layouts/partials/js.html
+++ b/layouts/partials/js.html
@@ -3,7 +3,7 @@
* Dev toolset
*/
- console.log('cState v5.2 - https://github.com/cstate/cstate');
+ console.log('cState v5.3 - https://github.com/cstate/cstate');
document.getElementsByTagName('html')[0].className = 'js';
/**
diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html
index 0e8725b..85a235a 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.2 - https://github.com/cstate/cstate">
+ <meta name="generator" content="cState v5.3 - https://github.com/cstate/cstate">
<meta name="theme-color" content="{{ .Site.Params.brand }}">
<script>
var themeBrandColor = '{{ .Site.Params.brand }}';
@@ -115,6 +115,11 @@
.padding { padding: 12px; }
.clicky { cursor: pointer; }
+ .link-style { border: none; }
+ .span-icon {
+ float: right;
+ margin-left: 16px;
+ }
/**
* Categories