diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2022-02-26 13:30:01 -0500 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2022-02-26 13:30:01 -0500 |
| commit | dc374510bf5a636fd404d896b12386d41bb7b409 (patch) | |
| tree | 13d665072debe43aa1d5a18e561f3bd7844d1553 /.templates | |
| parent | 6df689e1d2ef15b227ee488ea5eff6ecf26855b3 (diff) | |
Reference 'main', not 'master', as the publication branch.
Diffstat (limited to '.templates')
| -rw-r--r-- | .templates/document.html | 11 | ||||
| -rw-r--r-- | .templates/listing.html | 64 |
2 files changed, 38 insertions, 37 deletions
diff --git a/.templates/document.html b/.templates/document.html index 498e86b..602b9ec 100644 --- a/.templates/document.html +++ b/.templates/document.html @@ -1,11 +1,12 @@ {% extends 'base.html' %} {% block content %} - <div id="article"> - {{ content }} - </div> +<div id="article"> + {{ content }} +</div> {% endblock %} {% block scm_info %} -<a href="https://github.com/grimoire-ca/bliki/blob/master/wiki/{{ path }}.md">See this page on Github</a> (<a href="https://github.com/grimoire-ca/bliki/commits/master/wiki/{{ path }}.md">history</a>). -{% endblock %} +<a href="https://github.com/grimoire-ca/bliki/blob/main/wiki/{{ path }}.md">See this page on Github</a> (<a + href="https://github.com/grimoire-ca/bliki/commits/main/wiki/{{ path }}.md">history</a>). +{% endblock %}
\ No newline at end of file diff --git a/.templates/listing.html b/.templates/listing.html index 8964b82..3a52505 100644 --- a/.templates/listing.html +++ b/.templates/listing.html @@ -3,42 +3,42 @@ {% block title %}ls /{{ directory|e }}{% endblock %} {% block content %} - <div id="listing"> - <h1><code>ls /{{ directory|e }}</code></h1> +<div id="listing"> + <h1><code>ls /{{ directory|e }}</code></h1> - {% if sub_directories %} - <div id="directories"> - <h2>Directories</h2> - <ul> - {% for dir in sub_directories %} - <li><a href="{{ make_relative(dir.href) }}">{{ dir.basename|e }}/</a></li> - {% endfor %} - </ul> - </div> - {% endif %} + {% if sub_directories %} + <div id="directories"> + <h2>Directories</h2> + <ul> + {% for dir in sub_directories %} + <li><a href="{{ make_relative(dir.href) }}">{{ dir.basename|e }}/</a></li> + {% endfor %} + </ul> + </div> + {% endif %} - {% if pages %} - <div id="pages"> - <h2>Pages</h2> - <ul> - {% for page in pages %} - <li><a href="{{ make_relative(page.href) }}">{{ page.title }}</a></li> - {% endfor %} - </ul> - </div> - {% endif %} + {% if pages %} + <div id="pages"> + <h2>Pages</h2> + <ul> + {% for page in pages %} + <li><a href="{{ make_relative(page.href) }}">{{ page.title }}</a></li> + {% endfor %} + </ul> + </div> + {% endif %} - {% if files %} - <div id="files"> - <h2>Files</h2> - {% for file in files %} - <li><a href="{{ make_relative(file.href) }}">{{ file.basename|e }}</a></li> - {% endfor %} - </div> - {% endif %} + {% if files %} + <div id="files"> + <h2>Files</h2> + {% for file in files %} + <li><a href="{{ make_relative(file.href) }}">{{ file.basename|e }}</a></li> + {% endfor %} </div> + {% endif %} +</div> {% endblock %} {% block scm_info %} -<a href="https://github.com/grimoire-ca/bliki/tree/master/wiki/{{ directory }}">See this directory on Github</a>. -{% endblock %} +<a href="https://github.com/grimoire-ca/bliki/tree/main/wiki/{{ directory }}">See this directory on Github</a>. +{% endblock %}
\ No newline at end of file |
