diff options
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/index/components.html | 8 | ||||
-rw-r--r-- | layouts/partials/js.html | 2 | ||||
-rw-r--r-- | layouts/partials/meta.html | 7 |
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 |