Andrey Fedorov
76b06fede7
Fixes #909 , reverts "don't pushState", using replaceState instead ( #949 )
...
Partially reverts 95f924fd0d .
2018-02-08 14:22:41 -06:00
Dan Levy
dd8e04c6f4
Cleans HTML before setting document.title ( #946 )
...
Fixes https://github.com/lord/slate/issues/945
2018-01-28 15:21:01 -06:00
Zach Toolson
95f924fd0d
Do not push history state. The browser already handles back properly ( #878 )
2017-09-13 23:17:16 -05:00
Robert Lord
5663fb8b4f
Fix bug with initial load of ToC always jumping to top
2017-07-06 23:32:43 -07:00
Robert Lord
7090d80067
Add styling to parent links of current link
2017-03-02 10:39:38 -06:00
Robert Lord
4aae61a1dc
Fix bug where clicking link in ToC wouldn't hide ToC on mobile
2017-03-02 10:39:37 -06:00
Robert Lord
53e2f23e5c
Static table of contents ( #701 )
...
* Add showing/hiding submenus, fix sidebar styling, fix bug where includes wouldn't appear in ToC
* Update ToC to highlight last header if page is scrolled to very bottom, fixes #280
* Set HTML title to current h1 section text, see #133
* Fix menu not opening on mobile
* Add back increase toc item height on mobile
* Fix padding bug
* Add back in ToC sliding animation
2017-02-24 11:57:39 -06:00
Robert Lord
7f1d6da6dc
Remove last inline script
2016-01-27 02:00:01 -06:00
Robert Lord
a4b9208af0
Move jquery to be local
2016-01-27 01:37:16 -06:00
Robert Lord
ad3b2769fe
Update tocify to recache headers on image load, fixes #293
2015-07-06 18:54:45 -07:00
Rouven Weßling
384ffac2fd
Don't generate unnecessary JS files.
...
Also exclude jquery.highlight from the nosearch version, as it's not needed there.
2015-06-01 00:29:57 +02:00