moving to one pass with hugo..
This commit is contained in:
parent
4732c15fd7
commit
9738d858fd
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@
|
|||
{{ $is_in_is_in = $is_in_is_in | append ($.GetPage .) }}
|
||||
{{ end }}
|
||||
|
||||
{{ if eq hugo.Environment "preview" }}
|
||||
{{ if eq hugo.Environment "gitea" }}
|
||||
<div class="headiter">
|
||||
<a class="edit-button" target="_blank" href="{{ $.Site.Params.sandpointsGiteaUrl }}/_edit/master/content/{{ .File }}">EDIT_THIS</a>
|
||||
{{ with $scratch.core }}<a class="edit-button" target="_blank" href="{{ $.Site.Params.sandpointsGiteaUrl }}/_new/master/content/{{ index . 0 }}/">ADD_{{ index . 0 | upper }}</a>{{ end }}
|
||||
|
|
Loading…
Add table
Reference in a new issue