NOTE: Federation is disabled on this instance!
You can test federation between the following instances:forge.angeley.es
code.angeley.es
By | fr33domlover |
At | 2017-12-08 |
Title | Fix navigation links and support page RTL using toplevel div |
Description |
Edit file templates/default.html 33188 → 33188
12 | 12 | <div class="logo"> |
|
13 | 13 | <a href="/">My Hakyll Blog</a> |
|
14 | 14 | </div> |
|
15 | 15 | <nav> |
|
16 | 16 | <a href="/">Home</a> |
|
- | 17 | <a href="/about.html">About</a> |
|
- | 18 | <a href="/contact.html">Contact</a> |
|
- | 19 | <a href="/archive.html">Archive</a> |
|
+ | 17 | <a href="/about">About</a> |
|
+ | 18 | <a href="/contact">Contact</a> |
|
+ | 19 | <a href="/archive">Archive</a> |
|
20 | 20 | </nav> |
|
21 | 21 | </header> |
|
22 | 22 | ||
23 | 23 | <main role="main"> |
|
- | 24 | <h1>$title$</h1> |
|
- | 25 | $body$ |
|
+ | 24 | $if(rtl)$ |
|
+ | 25 | <div dir="rtl"> |
|
+ | 26 | $endif$ |
|
+ | 27 | <h1>$title$</h1> |
|
+ | 28 | $body$ |
|
+ | 29 | $if(rtl)$ |
|
+ | 30 | </div> |
|
+ | 31 | $endif$ |
|
26 | 32 | </main> |
|
27 | 33 | ||
28 | 34 | <footer> |
|
29 | 35 | Site proudly generated by |
|
30 | 36 | <a href="http://jaspervdj.be/hakyll">Hakyll</a> |
|
… | … | … | … |