updated documentation posts

This commit is contained in:
Panos Sakkos 2015-11-23 23:45:35 +01:00
parent 1ff21c8554
commit eef1c65740
4 changed files with 60 additions and 35 deletions

View file

@ -160,7 +160,9 @@ $(window).scroll(toggleNavCollapse);$(function(){$("a.page-scroll").bind("click"
<script>
function addTohistory() {
history.pushState({}, '{{page.title}}', '{{site.url}}{{site.baseurl}}{{page.url}}');
if (!window.location.host.startsWith("127.0.0.1")) {
history.pushState({}, '{{page.title}}', '{{site.url}}{{site.baseurl}}{{page.url}}');
}
}
</script>