Skip to content

Commit 9426d8d

Browse files
authored
Merge pull request #5 from SignPath/status-svg
provides status icon for main website
2 parents 7b5800d + f9ddc50 commit 9426d8d

File tree

5 files changed

+13
-3
lines changed

5 files changed

+13
-3
lines changed

docs/_includes/status_critical.svg

Lines changed: 1 addition & 1 deletion
Loading

docs/_includes/status_good.svg

Lines changed: 1 addition & 1 deletion
Loading

docs/_includes/status_warning.svg

Lines changed: 1 addition & 1 deletion
Loading

docs/status/icon.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
# renders the svg alone
3+
---
4+
{%- if site.data.status.current.type == "good" -%}
5+
{%- include status_good.svg -%}
6+
{%- elsif site.data.status.current.type == "warning" -%}
7+
{%- include status_warning.svg -%}
8+
{%- elsif site.data.status.current.type == "critical" -%}
9+
{%- include status_critical.svg -%}
10+
{%- endif -%}
File renamed without changes.

0 commit comments

Comments
 (0)