Commit graph

13 commits

Author SHA1 Message Date
Victoria Drake
8a9baff968 Linkify headings, use scroll-behavior
- Uses the scroll-behavior property to achieve smooth scrolling with
less JS
- Solves anchor link bugs
- Linkifies headings in posts so they can be easily hyperlinked to directly
2020-08-01 19:11:56 -04:00
hitzhangjie
89b8d152a9
fix: if heading contains non English characters, cannot scroll properly (#228) 2020-08-01 18:47:51 -04:00
Jacques Supcik
5205eeac73 Add timeRefresh for periodic localtime update and allow for multilingual time format (#177) 2019-08-31 23:52:30 +02:00
Maximilian Bosche
819c058865 Added parameter for timeformat (#124) 2019-01-13 09:24:53 +01:00
Etienne Membrives
826b4c2c9f Fix smooth scrolling for footnotes (#103)
Footnotes are using a fragment format with a colon inside ("#fn:1" for
example). However, ":" is a special character for jQuery
(http://api.jquery.com/category/selectors/), thus the target anchor is
never found and the scrolling does not happen.

This change selects the right target element using vanilla Javascript to
bypass special characters that could be in the fragment part.
2018-11-13 11:03:07 +01:00
Hanzei
ef4cd37814
Use doublequotes when possible 2018-07-29 09:21:19 +02:00
Hanzei
ef5feab3ef
Refactor config.toml 2018-07-20 14:45:36 +02:00
Hanzei
e375687f26
Bundle nav script in index.js 2018-07-19 15:37:06 +02:00
Hanzei
9125225a21
Add owlCarousel to homepage modal 2018-07-19 15:33:29 +02:00
Hanzei
2246ec7370
Fix modal closing 2018-07-19 15:15:30 +02:00
Hanzei
ebd3b152f4
Fix timezone 2018-07-18 17:41:04 +02:00
Hanzei
618fe065fe
Fix js include 2018-07-13 11:19:48 +02:00
Hanzei
986d249391
Bundle assets
Update dependencies
2018-07-13 10:55:02 +02:00