{{define "title"}}{{.HyphaName | beautifulName}}{{end}} {{define "body"}}
{{if .Meta.U.CanProceed "edit"}} {{end}} {{if .IsMyProfile}} {{if eq .Meta.U.Group "admin"}} {{end}} {{end}} {{.NaviTitle}} {{if .Contents}}{{.Contents}}{{else}}{{template "empty hypha card" .}}{{end}}
{{if .PrevHyphaName}} {{end}} {{if .NextHyphaName}} {{end}}
{{ if .SubhyphaeHTML }}

{{block "subhyphae" .}}Subhyphae{{end}}

{{end}}
{{template "category card" .}} {{range .ViewScripts}}{{end}} {{end}} {{define "category card"}} {{if or .GivenPermissionToModify (len .Categories)}} {{$hyphaName := .HyphaName}} {{$givenPermission := .GivenPermissionToModify}} {{end}} {{end}} {{define "empty hypha card"}}

{{block "empty heading" .}}This hypha does not exist{{end}}

{{if and .UseAuth (eq .Meta.U.Group "anon")}}

{{block "empty no rights" .}}You are not authorized to create new hyphae. Here is what you can do:{{end}}

{{else}}

📝 {{block "write a text" .}}Write a text{{end}}

{{block "write a text tip" .}}Write a note, a diary, an article, a story or anything textual using Mycomarkup. Full history of edits to the document will be saved.{{end}}

{{block "write a text writing conventions" .}}Make sure to follow this wiki's writing conventions if there are any.{{end}}

{{block "write a text btn" .}}Create{{end}}

🖼 {{block "upload a media" .}}Upload a media{{end}}

{{block "upload a media tip" .}}Upload a picture, a video or an audio. Most common formats can be viewed from the browser, others can only be downloaded and viewed locally. You can write a description for the media later.{{end}}

{{end}}
{{end}}