summaryrefslogtreecommitdiff
path: root/_layouts/article.html
diff options
context:
space:
mode:
Diffstat (limited to '_layouts/article.html')
-rw-r--r--_layouts/article.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/_layouts/article.html b/_layouts/article.html
new file mode 100644
index 0000000..80f3b3c
--- /dev/null
+++ b/_layouts/article.html
@@ -0,0 +1,29 @@
+---
+layout: page
+type: article
+---
+
+{%- include snippets/assign.html
+ target = site.data.variables.default.page.sharing
+ source0=layout.sharing source1=page.sharing -%}
+{%- assign _sharing = __return -%}
+
+<div class="layout--article">
+ {%- include article/top/custom.html -%}
+
+ <div class="article__content" itemprop="articleBody">{{ content }}</div>
+
+ {%- if _sharing -%}
+ <section class="article__sharing d-print-none">{%- include sharing.html -%}</section>
+ {%- endif -%}
+
+ <div class="d-print-none">
+ {%- include article-footer.html -%}
+ {%- include article-section-navigator.html -%}
+ </div>
+
+</div>
+
+<script>
+ {%- include scripts/article.js -%}
+</script>