diff --git a/config.yaml b/config.yaml index c08517f..c96dad2 100644 --- a/config.yaml +++ b/config.yaml @@ -75,6 +75,9 @@ params: schema: true twitter_cards: true + spaceapi: + embed_indicator: /spaceapi-status + # Define all supported taxonomies taxonomies: category: categories diff --git a/layouts/partials/head.html b/layouts/partials/head.html index d2291e9..70da618 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -9,3 +9,4 @@ {{- end }} + diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html new file mode 100644 index 0000000..f7b4ac5 --- /dev/null +++ b/layouts/partials/navbar.html @@ -0,0 +1,43 @@ +{{- $showhead := default true .Site.Params.showNavHeader }} +{{- if or $showhead .Site.Menus.main }} + +{{- end }} +{{- with .Site.Params.spaceapi.embed_indicator -}} +
+ +
+{{- end }} diff --git a/static/spaceapi-status b/static/spaceapi-status new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/static/spaceapi-status @@ -0,0 +1 @@ +1 diff --git a/static/styles.css b/static/styles.css new file mode 100644 index 0000000..2090789 --- /dev/null +++ b/static/styles.css @@ -0,0 +1,14 @@ +.space-api-indicator-big { + display: inline-block; + vertical-align: middle; + width: 100%; +} + +iframe.space-api-indicator { + border: none; + vertical-align: middle; + width: 20%; + height: 2em; + overflow: hidden; + margin-left: 40%; +}