From fd8c860d35d21da1edb4b9f2b5f4d7bddafe3d14 Mon Sep 17 00:00:00 2001 From: Bangara Raju Kottedi Date: Sun, 20 Aug 2023 23:41:31 +0530 Subject: [PATCH 1/2] added views icon and some alignment changes and code refactoring --- _includes/post-counter.html | 56 ++++++++--------- _layouts/post.html | 116 +++++++++++++++++++----------------- 2 files changed, 86 insertions(+), 86 deletions(-) diff --git a/_includes/post-counter.html b/_includes/post-counter.html index 8072982..093be3e 100644 --- a/_includes/post-counter.html +++ b/_includes/post-counter.html @@ -1,36 +1,32 @@ - + + - - \ No newline at end of file diff --git a/_layouts/post.html b/_layouts/post.html index d066479..718f8d8 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -2,11 +2,11 @@ layout: page refactor: true panel_includes: - - toc +- toc tail_includes: - - related-posts - - post-nav - - comments +- related-posts +- post-nav +- comments --- {% include lang.html %} @@ -14,65 +14,70 @@ tail_includes:

{{ page.title }}

- + \ No newline at end of file From dd616fda41cea5c65ba84f02b2c2b9f4bc9a027f Mon Sep 17 00:00:00 2001 From: Bangara Raju Kottedi Date: Mon, 21 Aug 2023 00:21:20 +0530 Subject: [PATCH 2/2] added loader to the view count and some code refactoring --- _config-prod.yml | 3 +++ _config-uat.yml | 3 +++ _config.yml | 4 ++-- _includes/loader.html | 1 + _includes/post-counter.html | 7 +++++-- _layouts/post.html | 2 +- 6 files changed, 15 insertions(+), 5 deletions(-) create mode 100644 _includes/loader.html diff --git a/_config-prod.yml b/_config-prod.yml index 7d13ad5..be4c6c1 100644 --- a/_config-prod.yml +++ b/_config-prod.yml @@ -3,6 +3,9 @@ id: 'blog' url: "https://blog.kottedi.in" +show_drafts: false +future: false + # Custom configuration custom-config: blog-services: diff --git a/_config-uat.yml b/_config-uat.yml index c4415d7..c86625e 100644 --- a/_config-uat.yml +++ b/_config-uat.yml @@ -3,6 +3,9 @@ id: 'blog-uat' url: "https://blog-uat.kottedi.in" +show_drafts: true +future: true + # Custom configuration custom-config: blog-services: diff --git a/_config.yml b/_config.yml index 8bbe716..193e88c 100644 --- a/_config.yml +++ b/_config.yml @@ -198,8 +198,8 @@ jekyll-archives: tag: /tags/:name/ category: /categories/:name/ -show_drafts: false -future: false +show_drafts: true +future: true # Custom configuration diff --git a/_includes/loader.html b/_includes/loader.html new file mode 100644 index 0000000..cde5386 --- /dev/null +++ b/_includes/loader.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_includes/post-counter.html b/_includes/post-counter.html index 093be3e..37335d7 100644 --- a/_includes/post-counter.html +++ b/_includes/post-counter.html @@ -1,10 +1,12 @@ +{% include loader.html id="postcountloader" %}