From 73a9d15c7d3a4ff2ede44784c7c5ad7b9b719c66 Mon Sep 17 00:00:00 2001 From: Mantas Vilčinskas Date: Sat, 25 Dec 2021 18:17:37 +0200 Subject: #221 - rss cors --- exampleSite/netlify.toml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'exampleSite') diff --git a/exampleSite/netlify.toml b/exampleSite/netlify.toml index b403f89..edf34b2 100644 --- a/exampleSite/netlify.toml +++ b/exampleSite/netlify.toml @@ -20,3 +20,6 @@ for = "/*.json" [headers.values] Access-Control-Allow-Origin = "*" + for = "/*.xml" + [headers.values] + Access-Control-Allow-Origin = "*" -- cgit v1.2.3-70-g09d2 From 9b1da2a4626f0b6f1db9c2d8178306df3be6486c Mon Sep 17 00:00:00 2001 From: aperullo Date: Mon, 27 Dec 2021 12:08:03 -0500 Subject: add optional external link button --- exampleSite/config.yml | 4 ++++ layouts/partials/index/components.html | 8 ++++++++ layouts/partials/meta.html | 5 +++++ 3 files changed, 17 insertions(+) (limited to 'exampleSite') 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 @@ {{ end }} + {{ with .link }} + + + 🔗 + + + {{ end }} + {{ 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 -- cgit v1.2.3-70-g09d2