main.html (1378B)
1 2 <!DOCTYPE html> 3 <html> 4 <head> 5 6 <script> 7 var base_url = "{{ base_url }}"; 8 </script> 9 <script src="{{ base_url }}/search/main.js"></script> 10 <title>{% if page.title %}{{ page.title }} - {% endif %}{{ config.site_name }}</title> 11 {%- for path in config.extra_css %} 12 <link href="{{ path | url }}" rel="stylesheet"> 13 {%- endfor %} 14 15 </head> 16 <body> 17 18 <!-- Fixed navigation bar --> 19 <div id="mkdocs-nav"> 20 {% include "nav.html" %} <!-- Include navigation --> 21 </div> 22 23 <main> 24 <div class="container"> 25 {% include "sidebar.html" %} <!-- Include sidebar navigation --> 26 27 <main class="content"> 28 {{ page.content }} 29 </main> 30 </div> 31 </main> 32 33 {%- for script in config.extra_javascript %} 34 {{ script | script_tag }} 35 {%- endfor %} 36 37 38 <footer id="site-footer"> 39 <a href="https://git.laack.co/notes/log.html" target="_blank">Repo</a> 40 </footer> 41 42 <style> 43 #site-footer { 44 position: fixed; 45 bottom: 0; 46 left: 0; 47 right: 0; 48 width: 100%; 49 background: white; 50 text-align: right; 51 height: 18px; 52 font-size: 12px; 53 } 54 55 #site-footer a { 56 text-decoration: none; 57 font-weight: bold; 58 padding-right: 10px; 59 } 60 61 #site-footer a:hover { 62 text-decoration: underline; 63 } 64 </style> 65 66 67 </body> 68 </html>