diff --git a/_config.yml b/_config.yml index b680ce4..596ca4c 100644 --- a/_config.yml +++ b/_config.yml @@ -4,9 +4,9 @@ baseurl: "" # place folder name if the site is served i title: "A blog by Because789" description: "Random thoughts of a confused mind." -author: - name: "Because789" - email: "because789@gmx.ch" +# author: +# name: "Because789" +# email: "because789@gmx.ch" exclude: ['README.md'] @@ -15,7 +15,8 @@ minima: skin: dark date_format: "%d. %b %Y" header_pages: - - static/about.md + - categories.md + - about.md # Generate social links in footer: social_links: - { platform: github, user_url: "https://github.com/Because789" } diff --git a/_posts/2023-11-13-test.md b/_posts/2023-11-13-test.md index 4851adf..a2feb00 100644 --- a/_posts/2023-11-13-test.md +++ b/_posts/2023-11-13-test.md @@ -1,8 +1,7 @@ --- layout: post title: "Test" -categories: test -tags: ["test"] +categories: Test # published: false --- diff --git a/_posts/2023-11-13-test1.md b/_posts/2023-11-13-test1.md new file mode 100644 index 0000000..1a07c79 --- /dev/null +++ b/_posts/2023-11-13-test1.md @@ -0,0 +1,12 @@ +--- +layout: post +title: "Test 1" +categories: [Test, Whatever] +# published: false +--- + +# My second post + +**Hello world**, this is my first Jekyll blog post. + +I hope you like it! diff --git a/categories.md b/categories.md new file mode 100644 index 0000000..02405f0 --- /dev/null +++ b/categories.md @@ -0,0 +1,23 @@ +--- +layout: page +permalink: /categories/ +title: Categories +--- + +
+{% for category in site.categories %} +
+ {% capture category_name %}{{ category | first }}{% endcapture %} +
+

+ +

{{ category_name }}

+ + {% for post in site.categories[category_name] %} + + {% endfor %} +
+{% endfor %} +