From ffa664a7d169d3f683a1c9c309c62b376a45a462 Mon Sep 17 00:00:00 2001 From: Ramon Ayco Jr Date: Mon, 4 Oct 2021 10:07:40 +0800 Subject: [PATCH] add "personal" category page --- _config.yml | 4 ++-- personal.html | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+), 2 deletions(-) create mode 100644 personal.html diff --git a/_config.yml b/_config.yml index 7517dda..af6dd88 100644 --- a/_config.yml +++ b/_config.yml @@ -96,7 +96,7 @@ prose: element: text label: category type: text - placeholder: productivity | entertaining | motivational | technology + placeholder: personal | productivity | entertaining | motivational | technology _drafts: - name: "published" field: @@ -138,7 +138,7 @@ prose: element: text label: category type: text - placeholder: productivity | entertaining | motivational | technology + placeholder: personal | productivity | entertaining | motivational | technology # Exclude from processing. # The following items will not be processed, by default. Create a custom list # to override the default setting. diff --git a/personal.html b/personal.html new file mode 100644 index 0000000..e9b116a --- /dev/null +++ b/personal.html @@ -0,0 +1,56 @@ +--- +layout: category +category-name: personal +--- + +

Personal Posts

+ +
+ {% if site.categories.personal.size > 0 %} + + {% else %} + No posts to show. + {% endif %} +