File tree Expand file tree Collapse file tree 2 files changed +12
-13
lines changed
Expand file tree Collapse file tree 2 files changed +12
-13
lines changed Original file line number Diff line number Diff line change 11[book ]
22authors = [" Ryan Goodfellow" ]
33language = " en"
4- multilingual = false
54src = " src"
65title = " The x4c Book"
76
Original file line number Diff line number Diff line change 196196
197197 <nav class =" nav-wrapper" aria-label =" Page navigation" >
198198 <!-- Mobile navigation buttons -->
199- {{ #previous }}
200- <a rel =" prev" href =" {{ path_to_root }}{{ link }} " class =" mobile-nav-chapters previous" title =" Previous chapter" aria-label =" Previous chapter" aria-keyshortcuts =" Left" >
199+ {{ #if previous }}
200+ <a rel =" prev" href =" {{ path_to_root }}{{ previous. link}} " class =" mobile-nav-chapters previous" title =" Previous chapter" aria-label =" Previous chapter" aria-keyshortcuts =" Left" >
201201 <i class =" fa fa-angle-left" ></i >
202202 </a >
203- {{ /previous }}
203+ {{ /if }}
204204
205- {{ #next }}
206- <a rel =" next prefetch" href =" {{ path_to_root }}{{ link }} " class =" mobile-nav-chapters next" title =" Next chapter" aria-label =" Next chapter" aria-keyshortcuts =" Right" >
205+ {{ #if next }}
206+ <a rel =" next prefetch" href =" {{ path_to_root }}{{ next. link}} " class =" mobile-nav-chapters next" title =" Next chapter" aria-label =" Next chapter" aria-keyshortcuts =" Right" >
207207 <i class =" fa fa-angle-right" ></i >
208208 </a >
209- {{ /next }}
209+ {{ /if }}
210210
211211 <div style =" clear: both" ></div >
212212 </nav >
213213 </div >
214214 </div >
215215
216216 <nav class =" nav-wide-wrapper" aria-label =" Page navigation" >
217- {{ #previous }}
218- <a rel =" prev" href =" {{ path_to_root }}{{ link }} " class =" nav-chapters previous" title =" Previous chapter" aria-label =" Previous chapter" aria-keyshortcuts =" Left" >
217+ {{ #if previous }}
218+ <a rel =" prev" href =" {{ path_to_root }}{{ previous. link}} " class =" nav-chapters previous" title =" Previous chapter" aria-label =" Previous chapter" aria-keyshortcuts =" Left" >
219219 <i class =" fa fa-angle-left" ></i >
220220 </a >
221- {{ /previous }}
221+ {{ /if }}
222222
223- {{ #next }}
224- <a rel =" next prefetch" href =" {{ path_to_root }}{{ link }} " class =" nav-chapters next" title =" Next chapter" aria-label =" Next chapter" aria-keyshortcuts =" Right" >
223+ {{ #if next }}
224+ <a rel =" next prefetch" href =" {{ path_to_root }}{{ next. link}} " class =" nav-chapters next" title =" Next chapter" aria-label =" Next chapter" aria-keyshortcuts =" Right" >
225225 <i class =" fa fa-angle-right" ></i >
226226 </a >
227- {{ /next }}
227+ {{ /if }}
228228 </nav >
229229
230230 </div >
You can’t perform that action at this time.
0 commit comments