aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_layouts
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-04-05 13:06:50 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-04-05 13:08:53 +0200
commit8eeac84c2408ce4f7c51bfdf6975d31fa434e03a (patch)
treea0019835d25c13d7b59ffadf665675889c74a4db /_layouts
parentsidebar: allow adding custom content (diff)
downloadjekyll-theme-8eeac84c2408ce4f7c51bfdf6975d31fa434e03a.tar.gz
jekyll-theme-8eeac84c2408ce4f7c51bfdf6975d31fa434e03a.zip
_layouts: add nosidebar layout
Diffstat (limited to '')
-rw-r--r--_layouts/nosidebar.html5
-rw-r--r--_layouts/page.html3
2 files changed, 6 insertions, 2 deletions
diff --git a/_layouts/nosidebar.html b/_layouts/nosidebar.html
new file mode 100644
index 0000000..2e88f63
--- /dev/null
+++ b/_layouts/nosidebar.html
@@ -0,0 +1,5 @@
+---
+layout: plain
+---
+{% include jekyll-theme/page/title.html %}
+{{ content }}
diff --git a/_layouts/page.html b/_layouts/page.html
index 48cffb2..6455acc 100644
--- a/_layouts/page.html
+++ b/_layouts/page.html
@@ -1,6 +1,5 @@
---
layout: default
---
-<h1>{{ page.title }}{% if page.subtitle %} <small>{{ page.subtitle }}</small>{% endif %}</h1>
-<hr/>
+{% include jekyll-theme/page/title.html %}
{{ content }}