From: Christian Weiske Date: Thu, 11 Feb 2016 16:16:21 +0000 (+0100) Subject: Make phorkie search engine friendlier X-Git-Tag: v0.8.0~9 X-Git-Url: https://git.cweiske.de/phorkie.git/commitdiff_plain/8b86653c2471e04429ae9fec19dc33fcb5e5c059 Make phorkie search engine friendlier Tell crawlers which links they should not follow. Helps my own search engine "phinde" --- diff --git a/data/templates/display-file.htm b/data/templates/display-file.htm index adffbc7..32dbced 100644 --- a/data/templates/display-file.htm +++ b/data/templates/display-file.htm @@ -4,7 +4,7 @@ {% for toolinfo in file.getToolInfos %} {{toolinfo.getTitle}} {% endfor %} - +

{{file.getFilename}}

{{file.getRenderedContent(toolres)|raw}} diff --git a/data/templates/display-foot.htm b/data/templates/display-foot.htm index 6324509..bf9605e 100644 --- a/data/templates/display-foot.htm +++ b/data/templates/display-foot.htm @@ -1,13 +1,14 @@
diff --git a/data/templates/display-head.htm b/data/templates/display-head.htm index 8c16908..61961ab 100644 --- a/data/templates/display-head.htm +++ b/data/templates/display-head.htm @@ -3,7 +3,7 @@

{{repo.getTitle}}

diff --git a/data/templates/display-sidebar-history.htm b/data/templates/display-sidebar-history.htm index 0e99b2f..8db30e9 100644 --- a/data/templates/display-sidebar-history.htm +++ b/data/templates/display-sidebar-history.htm @@ -8,7 +8,7 @@ {% endfor %} {% endspaceless %} - {{commit.hash|slice(0, 6)}} + {{commit.hash|slice(0, 6)}} {{commit.committerName}} diff --git a/data/templates/revision.htm b/data/templates/revision.htm index 1462a4a..bb9d3f6 100644 --- a/data/templates/revision.htm +++ b/data/templates/revision.htm @@ -1,6 +1,10 @@ {% extends "base.htm" %} {% block title %}{{repo.getTitle}} - revision {{repo.hash}}{% endblock %} +{% block meta %} + +{% endblock %} + {% block content %} {% include 'revision-head.htm' %}