Browse Source

ADD_ANNEX or anything else not in triad hierarchy

master
Marcell Mars 2 years ago
parent
commit
9d058441f0
  1. 6
      _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/header.html
  2. 2
      _vendor/modules.txt

6
_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/header.html generated vendored

@ -1,5 +1,10 @@
{{ $s := partialCached "scratch.html" . }}
{{ $currentDir := "" }}
{{ with .File }}
{{ $currentDir = .Dir }}
{{ end }}
{{ $currentFile := (printf "/%s" .File) }}
{{ $scratch := $s.Get $currentFile }}
@ -27,6 +32,7 @@
{{ 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 }}
{{ with $scratch.crust }}<a class="edit-button" target="_blank" href="{{ $.Site.Params.sandpointsGiteaUrl }}/_new/master/content/{{ index . 0 }}/">ADD_{{ index . 0 | upper }}</a>{{ end }}
{{ if not $scratch.core }}<a class="edit-button" target="_blank" href="{{ $.Site.Params.sandpointsGiteaUrl }}/_new/master/content/{{ $currentDir }}">ADD_{{ substr $currentDir 0 -1 | upper }}</a>{{ end }}
<a class="edit-button" target="_blank" href="{{ $.Site.Params.sandpointsGiteaUrl }}/_edit/master/PUBLISH.trigger.md">PUBLISH</a>
<a class="edit-button" target="_blank" href="{{ $.Site.Params.sandpointsGiteaUrl }}"> ? </a>
</div>

2
_vendor/modules.txt vendored

@ -1 +1 @@
# git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20201214021218-2065efa34a44
# git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20201214024649-d07052efd534

Loading…
Cancel
Save