aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authoraperullo <anthony.perullo@connexta.com>2021-12-27 12:08:03 -0500
committeraperullo <anthony.perullo@connexta.com>2021-12-27 12:19:18 -0500
commit9b1da2a4626f0b6f1db9c2d8178306df3be6486c (patch)
tree037f53c9dbfe9c86fbf4f6f14e96fc839cb642f9 /layouts
parent615d0d28e8821497d6078781e5943d54eabdeaab (diff)
add optional external link button
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/index/components.html8
-rw-r--r--layouts/partials/meta.html5
2 files changed, 13 insertions, 0 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/meta.html b/layouts/partials/meta.html
index 0e8725b..279857c 100644
--- a/layouts/partials/meta.html
+++ b/layouts/partials/meta.html
@@ -115,6 +115,11 @@
.padding { padding: 12px; }
.clicky { cursor: pointer; }
+ .link-style { border: none; }
+ .span-icon {
+ float: right;
+ margin-left: 16px;
+ }
/**
* Categories