summaryrefslogtreecommitdiff
path: root/_layouts
diff options
context:
space:
mode:
Diffstat (limited to '_layouts')
-rw-r--r--_layouts/security_html.html13
-rw-r--r--_layouts/security_txt.html5
2 files changed, 18 insertions, 0 deletions
diff --git a/_layouts/security_html.html b/_layouts/security_html.html
new file mode 100644
index 0000000..5cd9690
--- /dev/null
+++ b/_layouts/security_html.html
@@ -0,0 +1,13 @@
+---
+layout: default
+title: Security Advisory
+title_from: name
+---
+
+{% capture markdown %}{% include sec_txt/master.txt md=true %}{% endcapture %}{{ markdown | markdownify }}{%
+if site.serving %}
+<style type="text/css">
+#markdown-source { display: none; }
+#markdown-source:target { display: inherit; }
+</style>
+<pre id="markdown-source">{{ markdown | xml_escape }}</pre>{% endif %}
diff --git a/_layouts/security_txt.html b/_layouts/security_txt.html
new file mode 100644
index 0000000..54cbb0b
--- /dev/null
+++ b/_layouts/security_txt.html
@@ -0,0 +1,5 @@
+---
+layout: nil
+---
+
+{% include sec_txt/master.txt -%}