diff options
-rw-r--r-- | exampleSite/config.yml | 4 | ||||
-rw-r--r-- | layouts/partials/index/components.html | 8 | ||||
-rw-r--r-- | layouts/partials/meta.html | 5 |
3 files changed, 17 insertions, 0 deletions
diff --git a/exampleSite/config.yml b/exampleSite/config.yml index b270320..f968d0b 100644 --- a/exampleSite/config.yml +++ b/exampleSite/config.yml @@ -162,6 +162,10 @@ params: category: North Coast - name: Backup Gateway category: North Coast + - name: Website + description: The web frontend for the application. + category: Uncategorized + link: https://example.com/ - name: API description: The guts of the application. category: Uncategorized 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 |