Modify project templates to not clobber rel vcs link
Modify project templates to not clobber rel vcs link

--- a/templates/heads.tpl
+++ b/templates/heads.tpl
@@ -7,7 +7,7 @@
  *}
 {extends file='projectbase.tpl'}
 
-{block name=links}
+{block name=links append}
 {if $page > 0}
 <link rel="prev" href="{geturl project=$project action=heads page=$page-1}" />
 {/if}

--- a/templates/history.tpl
+++ b/templates/history.tpl
@@ -7,7 +7,7 @@
  *}
 {extends file='projectbase.tpl'}
 
-{block name=links}
+{block name=links append}
 {if $page > 0}
 <link rel="prev" href="{geturl project=$project action=history hash=$commit file=$blob->GetPath() page=$page-1}" />
 {/if}

--- a/templates/log.tpl
+++ b/templates/log.tpl
@@ -7,7 +7,7 @@
  *}
 {extends file='projectbase.tpl'}
 
-{block name=links}
+{block name=links append}
 {if $page > 0}
 <link rel="prev" href="{geturl project=$project action=log hash=$commit page=$page-1 mark=$mark}" />
 {/if}

--- a/templates/search.tpl
+++ b/templates/search.tpl
@@ -7,7 +7,7 @@
  *}
 {extends file='projectbase.tpl'}
 
-{block name=links}
+{block name=links append}
 {if $page > 0}
 <link rel="prev" href="{geturl project=$project action=search hash=$commit search=$search searchtype=$searchtype page=$page-1}" />
 {/if}

--- a/templates/searchfiles.tpl
+++ b/templates/searchfiles.tpl
@@ -7,7 +7,7 @@
  *}
 {extends file='projectbase.tpl'}
 
-{block name=links}
+{block name=links append}
 {if $page > 0}
 <link rel="prev" href="{geturl project=$project action=search hash=$commit search=$search searchtype=$searchtype page=$page-1}" />
 {/if}

--- a/templates/shortlog.tpl
+++ b/templates/shortlog.tpl
@@ -7,7 +7,7 @@
  *}
 {extends file='projectbase.tpl'}
 
-{block name=links}
+{block name=links append}
 {if $page > 0}
 <link rel="prev" href="{geturl project=$project action=shortlog hash=$commit page=$page-1 mark=$mark}" />
 {/if}

--- a/templates/tags.tpl
+++ b/templates/tags.tpl
@@ -7,7 +7,7 @@
  *}
 {extends file='projectbase.tpl'}
 
-{block name=links}
+{block name=links append}
 {if $page > 0}
 <link rel="prev" href="{geturl project=$project action=tags page=$page-1}" />
 {/if}

comments