dotawo header was not uptodate about _preview changes
This commit is contained in:
parent
c5a01b70e1
commit
ee7f050c14
1 changed files with 2 additions and 2 deletions
|
@ -26,8 +26,8 @@
|
|||
{{ $is_in_is_in = $is_in_is_in | append ($.GetPage .) }}
|
||||
{{ end }}
|
||||
|
||||
{{ if eq hugo.Environment "preview" }}
|
||||
<div class="headiter">
|
||||
{{ if eq hugo.Environment "gitea" }}
|
||||
<div class="headiter" id="preview">
|
||||
<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 }}
|
||||
{{ with $scratch.mantle }}<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