X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/089fcac67ae3c3e83e2c330498d211e6b7693534..8b86653c2471e04429ae9fec19dc33fcb5e5c059:/data/templates/display.htm diff --git a/data/templates/display.htm b/data/templates/display.htm index 43a76fc..16e1b08 100644 --- a/data/templates/display.htm +++ b/data/templates/display.htm @@ -1,16 +1,31 @@ {% 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}}

-

edit

+ {% 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-fork.htm' %} + {% include 'display-sidebar-history.htm' %} + {% include 'display-sidebar-urls.htm' %} {% endblock %}