Pārlūkot izejas kodu

header gets paths from triad graph

master
Sean Dockray pirms 4 gadiem
vecāks
revīzija
30d717afc7
1 mainītis faili ar 5 papildinājumiem un 2 dzēšanām
  1. +5
    -2
      themes/sandpoints/layouts/_default/baseof.html

+ 5
- 2
themes/sandpoints/layouts/_default/baseof.html Parādīt failu

@@ -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>


Notiek ielāde…
Atcelt
Saglabāt