X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/bfa1501efa1a49893208c794ea262a075b13fc1d..785ac71d1e7ccf8d8af0c49ac107f1be45133f5b:/data/templates/display.htm diff --git a/data/templates/display.htm b/data/templates/display.htm index 6575617..2bd0d73 100644 --- a/data/templates/display.htm +++ b/data/templates/display.htm @@ -1,19 +1,27 @@ {% extends "base.htm" %} -{% block title %}{{description}}{% endblock %} +{% block title %}{{repo.getTitle}}{% endblock %} + +{% block meta %} + +{% if repo.getCloneURL(true) %} + +{% endif %} +{% if repo.getCloneURL(false) %} + +{% endif %} +{% endblock %} {% block content %} -

{{repo.getDescription}}

- + {% include 'display-head.htm' %} + {% for file in repo.getFiles %} -
-

{{file.getFilename}}

-

- raw -

- {{file.getHighlightedContent|raw}} -
+ {% include 'display-file.htm' %} {% endfor %} + + {% include 'display-foot.htm' %} +{% endblock %} + +{% block sidebar %} + {% include 'display-sidebar-owner.htm' %} + {% include 'display-sidebar-history.htm' %} {% endblock %}