瀏覽代碼

header gets paths from triad graph

master
Sean Dockray 4 年之前
父節點
當前提交
30d717afc7
共有 1 個檔案被更改,包括 5 行新增2 行删除
  1. +5
    -2
      themes/sandpoints/layouts/_default/baseof.html

+ 5
- 2
themes/sandpoints/layouts/_default/baseof.html 查看文件

@@ -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…
取消
儲存