Fix E_NOTICE: Only variables should be passed by reference
[phorkie.git] / data / templates / display.htm
1 {% extends "base.htm" %}
2 {% block title %}{{repo.getTitle}}{% endblock %}
3
4 {% block meta %}
5 <link rel="meta" title="DOAP" type="application/rdf+xml" href="{{repo.getLink('doap')}}"/>
6   <link rel="alternate" title="oEmbed" type="application/json+oembed" href="{{repo.getLink('oembed-json', null, true)}}" />
7   <link rel="alternate" title="oEmbed" type="application/xml+oembed" href="{{repo.getLink('oembed-xml', null, true)}}" />
8 {% if repo.getCloneURL(true) %}
9   <link rel="vcs-git" href="{{repo.getCloneURL(true)}}" title="{{repo.getTitle}}"/>
10 {% endif %}
11 {% if repo.getCloneURL(false) %}
12   <link rel="vcs-git" href="{{repo.getCloneURL(false)}}" title="{{repo.getTitle}}"/>
13 {% endif %}
14 {% endblock %}
15
16 {% block content %}
17  {% include 'display-head.htm' %}
18
19 {% for file in repo.getFiles %}
20  {% include 'display-file.htm' %}
21 {% endfor %}
22
23  {% include 'display-foot.htm' %}
24 {% endblock %}
25
26 {% block sidebar %}
27  {% include 'display-sidebar-owner.htm' %}
28  {% include 'display-sidebar-fork.htm' %}
29  {% include 'display-sidebar-history.htm' %}
30  {% include 'display-sidebar-urls.htm' %}
31 {% endblock %}