From 25c0c038eb4e25becfbedddd30db05c0f14bdebe Mon Sep 17 00:00:00 2001 From: Panos Sakkos Date: Fri, 5 Jan 2024 21:51:16 +0200 Subject: [PATCH] remove gesture navigation --- README.md | 10 ++- _includes/js.html | 114 ------------------------------ _includes/swipe-instructions.html | 9 +-- css/grayscale.scss | 7 -- js/hammer.min.js | 7 -- 5 files changed, 5 insertions(+), 142 deletions(-) delete mode 100644 js/hammer.min.js diff --git a/README.md b/README.md index 7ed579b587..3d3bddc810 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,6 @@ You can watch it in action - Archive page - Syntax highlighting - Emojis - - Gesture navigation in archive and post pages by swiping - Hashtags - Categories - Disqus comments @@ -96,8 +95,7 @@ docker-compose up One of the reasons { Personal } is real is the following OSS projects: 1. [Grayscale](http://startbootstrap.com/template-overviews/grayscale/) -2. [hammer.js](https://hammerjs.github.io/) -3. [highlightjs](https://highlightjs.org/) -4. [RRSSB](https://github.com/kni-labs/rrssb) -5. [Timeline](https://github.com/kirbyt/timeline-jekyll-theme) -6. [typed.js](https://github.com/mattboldt/typed.js/) +2. [highlightjs](https://highlightjs.org/) +3. [RRSSB](https://github.com/kni-labs/rrssb) +4. [Timeline](https://github.com/kirbyt/timeline-jekyll-theme) +5. [typed.js](https://github.com/mattboldt/typed.js/) diff --git a/_includes/js.html b/_includes/js.html index 2c9f7006c7..61b1f2d52e 100644 --- a/_includes/js.html +++ b/_includes/js.html @@ -200,118 +200,4 @@ {% endif %} - - - -{% if site.enable-gesture-navigation %} {% if page.section-type == "post" %} - - - - - - - - - -{% endif %} {% if page.section-type == "blog" %} - - - - - - - - - -{% endif %} {% if page.section-type == "blog" %} - - - - - - - -{% endif %} {% if page.section-type == "post" %} - - - - - - - -{% endif %} - - - -{% endif %} - diff --git a/_includes/swipe-instructions.html b/_includes/swipe-instructions.html index a5fc645b15..229001bb28 100644 --- a/_includes/swipe-instructions.html +++ b/_includes/swipe-instructions.html @@ -4,14 +4,7 @@




-

- - {% if page.section-type == "blog" %} Did you know that you can navigate - the archive pages by swiping left and right? {% elsif page.section-type - == "post" %} Did you know that you can navigate the posts by swiping - left and right? {% endif %} - -

+