summaryrefslogtreecommitdiff
path: root/_layouts/article.html
diff options
context:
space:
mode:
authorKarl Hallsby <karl@hallsby.com>2020-09-27 14:31:36 -0500
committerKarl Hallsby <karl@hallsby.com>2020-09-27 14:32:00 -0500
commit61b34a5f260db45575d448d766ea29c0fb273ed3 (patch)
tree4ac84fa917df0c69fb0fc6d587750514e7d0d813 /_layouts/article.html
parentc3cafe3c3817f52d4c588b5b0d6e71e07e06145e (diff)
Add jekyll-text-theme YAML files
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>