DSpeckhals / bible.rs

A Bible server written in Rust using Actix Web and Diesel
https://bible.rs
MIT License
221 stars 24 forks source link

Add swipe navigation #52

Closed DSpeckhals closed 4 years ago

DSpeckhals commented 4 years ago

Swipe navigation is provided by a simple touch event handler that uses link elements that may be in the head of the document. If the rel="prev" and rel="next" elements exist, then they are used to allow for gesture navigation by swiping left and right on a touch-enabled device.

Also invalidate the PWA asset cache so the newer version of the JS is delivered.