Skip to content

Commit 9f4cdfb

Browse files
committed
pjax added to all main nav menu items
1 parent 52c9fb2 commit 9f4cdfb

File tree

5 files changed

+1720
-1965
lines changed

5 files changed

+1720
-1965
lines changed

war/get_involved.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,11 +214,10 @@ <h1>Curious citizen</h1>
214214

215215
</div>
216216

217-
<!-- FOOT: DUPLICATE THE FOLLOWING IN ALL PAGES -->
217+
<!-- FOOT: DUPLICATE THE FOLLOWING IN ALL PAGES -->
218218
</div><!-- end pjax content -->
219219

220220

221-
222221
<!-- footer
223222
================================================== -->
224223
<div id="foot-nav"></div>

war/js/main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// set ALL links inside pjax-content to try pjax
22
// this may slow down outside links with pjax request?
3+
$.pjax.defaults.timeout = 1500
34
$(document).pjax('a', '#pjax-content', {fragment: '#pjax-content'});
45
// set explicit links in nav bars to use pjax
56
$(document).pjax('a[data-pjax]', '#pjax-content', {fragment: '#pjax-content'});

war/media.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<meta charset="utf-8">
55
<title>Media Coverage</title>
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7-
<meta name="description" content="">
8-
<meta name="author" content="">
7+
<meta name="description" content="Coverage of OpenWorm in the media.">
8+
99
<!-- REPLICATE THIS IN ALL PAGES -->
1010

1111
<!-- Le styles -->
@@ -190,7 +190,7 @@ <h2 class="hero"><a
190190
</div>
191191
</div>
192192
</div>
193-
193+
194194
<!-- FOOT: DUPLICATE THE FOLLOWING IN ALL PAGES -->
195195
</div><!-- end pjax content -->
196196

0 commit comments

Comments
 (0)