diff --git a/_categories/just-for-fun.md b/_categories/just-for-fun.md new file mode 100644 index 0000000..41627b5 --- /dev/null +++ b/_categories/just-for-fun.md @@ -0,0 +1,4 @@ +--- +layout: category +category: just-for-fun +--- \ No newline at end of file diff --git a/_categories/linguistics.md b/_categories/linguistics.md new file mode 100644 index 0000000..800a7db --- /dev/null +++ b/_categories/linguistics.md @@ -0,0 +1,4 @@ +--- +layout: category +category: linguistics +--- \ No newline at end of file diff --git a/_config.yml b/_config.yml index b23b693..b461523 100644 --- a/_config.yml +++ b/_config.yml @@ -5,4 +5,7 @@ markdown: kramdown collections: posts: - permalink: /posts/:title + permalink: /article/:title + categories: + output: true + permalink: /articles/:title diff --git a/_layouts/category.html b/_layouts/category.html new file mode 100644 index 0000000..4eb6515 --- /dev/null +++ b/_layouts/category.html @@ -0,0 +1,16 @@ +--- +layout: default +css: articles +--- + +
+ +{% for post in site.posts %} + {% if post.categories contains page.category %} +