{% import "github.com/bouncepaw/mycorrhiza/util" %} {% import "github.com/bouncepaw/mycorrhiza/user" %} {% func BaseHTML(title, body string, u *user.User, headElements ...string) %} {%s title %} {% for _, el := range headElements %}{%s= el %}{% endfor %}
{%s= body %} {% endfunc %} {% func HyphaListHTML(tbody string, pageCount int) %}

List of hyphae

This wiki has {%d pageCount %} hyphae.

{%s= tbody %}
Full name Binary part type
{% endfunc %} {% func HyphaListRowHTML(hyphaName, binaryMime string, binaryPresent bool) %} {%s hyphaName %} {% if binaryPresent %} {%s binaryMime %} {% else %} {% endif %} {% endfunc %} {% func AboutHTML() %}

About {%s util.SiteName %}

  • MycorrhizaWiki version: β 0.13 indev
  • {%- if user.AuthUsed -%}
  • User count: {%d user.Count() %}
  • Home page: {%s util.HomePage %}
  • Administrators: {%- for i, username := range user.ListUsersWithGroup("admin") -%} {%- if i > 0 -%} {%- endif -%} {%s username %}{%- endfor -%}
  • {%- else -%}
  • This wiki does not use authorization
  • {%- endif -%}

See /list for information about hyphae on this wiki.

{% endfunc %}