Browse Source

header gets paths from triad graph

master
Sean Dockray 4 years ago
parent
commit
30d717afc7
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      themes/sandpoints/layouts/_default/baseof.html

+ 5
- 2
themes/sandpoints/layouts/_default/baseof.html View File

@@ -8,8 +8,11 @@
{{ with .Site.Params.edit }}
<div class="flex justify-between sticky top-0 static border-b-8 z-10 border-red bg-white px-1 pt-2">
<a class="edit-button" target="_blank" href="{{ $gitUrl }}/_edit/master/content/{{ $filePath }}">edit_this</a>
<a class="edit-button" target="_blank" href="{{ $gitUrl }}/_new/master/content/topic/">add_new_topic</a>
<a class="edit-button" target="_blank" href="{{ $gitUrl }}/_new/master/content/session/">add_new_session</a>
{{ range $k, $v := $.Site.Data.sandpointsnamegraph }}
{{ if ne (index $v "depth") "core" }}
<a class="edit-button" target="_blank" href="{{ $gitUrl }}/_new/master/content/{{ $k }}/">add_new_{{ $k }}</a>
{{ end }}
{{ end }}
<a class="edit-button" target="_blank" href="{{ $gitUrl }}/_edit/master/PUBLISH.trigger.md">publish</a>
<a class="edit-button" target="_blank" href="{{ $gitUrl }}"> ? </a>
</div>


Loading…
Cancel
Save