{% import "strings" %} {% import "github.com/bouncepaw/mycorrhiza/cfg" %} {% import "github.com/bouncepaw/mycorrhiza/hyphae/backlinks" %} {% import "github.com/bouncepaw/mycorrhiza/l18n" %} {% import "github.com/bouncepaw/mycorrhiza/user" %} {% import "github.com/bouncepaw/mycorrhiza/hyphae" %} {% func hyphaInfoEntry(h hyphae.Hypha, u *user.User, action, displayText string) %} {% if u.CanProceed(action) %}
  • {%s displayText %}
  • {% endif %} {% endfunc %} {% func hyphaInfo(meta Meta, h hyphae.Hypha) %} {% code u := meta.U lc := meta.Lc backs := backlinks.BacklinksCount(h) %} {% endfunc %} {% func siblingHyphae(siblings string, lc *l18n.Localizer) %} {% if cfg.UseSiblingHyphaeSidebar %} {% endif %} {% endfunc %} {% func Subhyphae(subhyphae string, lc *l18n.Localizer) %} {% if strings.TrimSpace(subhyphae) != "" %}

    {%s lc.Get("ui.subhyphae") %}

    {% endif %} {% endfunc %}