aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2019-09-30 15:09:19 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2019-09-30 15:09:19 +0300
commit04d53a3933bc4600373575ba5b66191e1c24a85d (patch)
tree7ca4da8fa3877e4858f507e557e924d64d2721ff
parentmove categories pages to /categories/ (diff)
downloadjekyll-theme-04d53a3933bc4600373575ba5b66191e1c24a85d.tar.gz
jekyll-theme-04d53a3933bc4600373575ba5b66191e1c24a85d.zip
add default layout for categories/
-rw-r--r--_config.yml5
-rw-r--r--categories/c++/index.html1
-rw-r--r--categories/haskell/index.html1
-rw-r--r--categories/math/index.html1
4 files changed, 5 insertions, 3 deletions
diff --git a/_config.yml b/_config.yml
index 5f3b770..05aac75 100644
--- a/_config.yml
+++ b/_config.yml
@@ -35,6 +35,11 @@ defaults:
type: notes
values:
layout: note
+ - scope:
+ path: categories
+ type: pages
+ values:
+ layout: category
excerpt_separator: ""
include_comments: true
diff --git a/categories/c++/index.html b/categories/c++/index.html
index ed18c1a..05a5f3f 100644
--- a/categories/c++/index.html
+++ b/categories/c++/index.html
@@ -1,5 +1,4 @@
---
title: C++
category: C++
-layout: category
---
diff --git a/categories/haskell/index.html b/categories/haskell/index.html
index a69e838..1f19919 100644
--- a/categories/haskell/index.html
+++ b/categories/haskell/index.html
@@ -1,5 +1,4 @@
---
title: Haskell
category: Haskell
-layout: category
---
diff --git a/categories/math/index.html b/categories/math/index.html
index 910af29..9019971 100644
--- a/categories/math/index.html
+++ b/categories/math/index.html
@@ -1,5 +1,4 @@
---
title: Math
category: Math
-layout: category
---