
{{.Inner|safeHTML}}

{{ define "childs" }}
	{{- range .menu }}
		{{- if and .Params.hidden (not $.showhidden) }}
		{{- else}}

<span>
{{- if hasPrefix $.style "h"}}
	{{- $num := sub ( int (trim $.style "h") ) 1 }}
	{{- $numn := add $num $.count }}

	{{- (printf "<h%d>" $numn)|safeHTML}}
		<a href="{{.RelPermalink}}" >{{ .Title }}</a>
	{{- (printf "</h%d>" $numn)|safeHTML}}
{{- else}}
	{{- (printf "<%s>" $.style)|safeHTML}}
		<a href="{{.RelPermalink}}" >{{ .Title }}</a>
	{{- (printf "</%s>" $.style)|safeHT