git.cweiske.de
/
phorkie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b361d81
)
add vcs-git links to html head, to support autodiscovery apart from DOAP - http:...
author
Christian Weiske
<cweiske@cweiske.de>
Tue, 18 Sep 2012 16:21:40 +0000
(18:21 +0200)
committer
Christian Weiske
<cweiske@cweiske.de>
Tue, 18 Sep 2012 16:51:58 +0000
(18:51 +0200)
data/templates/display.htm
patch
|
blob
|
history
diff --git
a/data/templates/display.htm
b/data/templates/display.htm
index 5bcb0162adcc1f49f1a4e81f18e97daef0d41934..799f94d669757ef33b6339c8342f64f493b2f517 100644
(file)
--- a/
data/templates/display.htm
+++ b/
data/templates/display.htm
@@
-5,6
+5,12
@@
{% block meta %}
<link rel="meta" title="DOAP" type="application/rdf+xml" href="{{repo.getLink('doap')}}"/>
+{% if repo.getCloneURL(true) %}
+ <link rel="vcs-git" href="{{repo.getCloneURL(true)}}" title="{{repo.getTitle}} git repository"/>
+{% endif %}
+{% if repo.getCloneURL(false) %}
+ <link rel="vcs-git" href="{{repo.getCloneURL(false)}}" title="{{repo.getTitle}} git repository"/>
+{% endif %}
{% endblock %}
{% block content %}