From 30d717afc72c5c94e3cec54c364e61eac4326873 Mon Sep 17 00:00:00 2001 From: Sean Dockray Date: Wed, 9 Sep 2020 23:34:39 +1000 Subject: [PATCH] header gets paths from triad graph --- themes/sandpoints/layouts/_default/baseof.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/themes/sandpoints/layouts/_default/baseof.html b/themes/sandpoints/layouts/_default/baseof.html index d8c17d2..0827343 100644 --- a/themes/sandpoints/layouts/_default/baseof.html +++ b/themes/sandpoints/layouts/_default/baseof.html @@ -8,8 +8,11 @@ {{ with .Site.Params.edit }}
edit_this - add_new_topic - add_new_session + {{ range $k, $v := $.Site.Data.sandpointsnamegraph }} + {{ if ne (index $v "depth") "core" }} + add_new_{{ $k }} + {{ end }} + {{ end }} publish ?