whatdahey

This commit is contained in:
Bel LaPointe
2022-02-16 07:57:25 -07:00
parent 9923b182f4
commit 552a3f46ff
2 changed files with 5 additions and 4 deletions

View File

@@ -42,6 +42,7 @@
const name=`filetree-leaf-${nameSafeId}`
const parentname=`filetree-leaf-${parentNameSafeId}`
const title=id ? branch.Leaf.Title : "ROOT"
const isLive = `{{ .This.ID }}`
return `
<div style="margin: 0; padding: 0; height: 0; width: 0;" id="${name}"></div>
<a style="flex-grow: 1;" href="${href}#${parentname}"><button style="width: 100%; text-align: left; outline: none;">${title}</button></a>