diff --git a/README.md b/README.md index 0934ad2..a7b4f48 100644 --- a/README.md +++ b/README.md @@ -13,12 +13,14 @@ Reverie-Crappy is a fork of [amitmerchant1990/reverie](https://github.com/amitmerchant1990/reverie) with some adjustment. The following has been add/edited from the original : - - Dark Theme toggle (don't respect browser preferance) with DarkReader - - Remove . when post author doesn't present - - change file strcture + - Dark Theme toggle (don't respect browser preferance) with DarkReader. + - Remove . when post author doesn't present. + - change file strcture. - Post 'visiblity' when not set to public, will not be listed on site. It still appear on sitemap though. - More expand friendly navbar. - add gitea icon svg. + - choice to disable/enable Twitter share on buttom. + - choice to enable/disable blog on first page. Reverie is a [Jekyll](https://jekyllrb.com/)-powered theme which is simple and opinionated. It's actually a fork of [jekyll-now](https://github.com/barryclark/jekyll-now) with some additional features and personal touches which I've implemented to suit my needs for my blog. diff --git a/_config.yml b/_config.yml index add1fb1..86acf91 100644 --- a/_config.yml +++ b/_config.yml @@ -12,7 +12,7 @@ author: description: Don't know what to describe # URL of your avatar or profile pic (you could use your GitHub profile pic) -avatar: /assets/images/reverie.png +avatar: /assets/images/deepfried-cropped.png # # Flags below are optional @@ -58,6 +58,10 @@ enforce_ssl: https://waii.ch # then add in the baseurl here, like this: "/repository-name" baseurl: "" +index_blog: true + +twitter_blog_share: false + # # !! You don't need to change any of the configuration flags below !! # @@ -90,7 +94,7 @@ plugins: include: ['_pages'] -paginate: 6 +paginate: 3 paginate_path: /page:num/ header_pages: diff --git a/_layouts/default.html b/_layouts/default.html index fe60e7b..3a09211 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -12,7 +12,7 @@ - + {% include analytics_head.html %} diff --git a/_layouts/post.html b/_layouts/post.html index e92d57f..ed97be7 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -27,9 +27,11 @@ layout: default {{ content }} + {% if site.twitter_blog_share == true %}

Twitter, Facebook

+ {% endif %}