-rw-r--r-- templates/docs/template.html.include
1 <!doctype html> 2 <html lang="en"> 3 <head> 4 <meta charset="utf-8"> 5 <meta name="viewport" content="width=device-width, initial-scale=1"> 6 <title>🐙 {{ name }} - {% block title %}{% endblock %}</title> 7 <link rel="stylesheet" type="text/css" href="{{ host }}/style.css"/> 8 <link rel="icon" type="image/png" href="{{ host }}/favicon.png"/> 9 </head> 10 11 <body> 12 <a id="heada" href="{{ host }}"> 13 <header> 14 <h1 id="title">{{ name }}</h1> 15 <h2 id="desc">{{ description }}</h2> 16 </header> 17 </a> 18 19 <div id="nav"> 20 {% set url = concat("https://github.com/m-col/", name) -%} 21 <span id="url">git clone <a href="{{ url }}">{{ url }}</a></span> 22 23 <span id="links"> 24 <a href="{{ host }}">Home</a> | 25 <a href="{{ host }}/{{ name }}/log.html">Log</a> | 26 <a href="{{ host }}/{{ name }}/files.html">Files</a> | 27 <a href="{{ host }}/{{ name }}/refs.html">Refs</a> | 28 <a href="{{ host }}/{{ name }}/blob/{{ readme.href }}">Readme</a> | 29 <a href="{{ host }}/{{ name }}/blob/{{ license.href }}">License</a> 30 </span> 31 32 <p id="tag"> 33 Docs built @ <a href="{{ host }}/gitja/commit/{{ commits[0].href }}">{{ commits[0].id[:7] }}</a> 34 </p> 35 </div> 36 37 <div id="content"> 38 {% block body %} 39 {% endblock %} 40 </div> 41 </body> 42 </html> 43