{{- /* Description: Menus im Text darstellen Parameter: 1. (erforderlich) MenuText 2. (optional) Prefix Requires: Return: Notice: Example: {{}} {{}} */ -}} {{- $id1 := (index .Params 0) -}} {{- $id2 := (index .Params 1) -}} {{- /* Ersetze Verbindungsstrich - mit ‍-‍ um Wortumbruch nach Verbindungsstrich zu verhindern */ -}} {{- $id1parse := (replaceRE "-" (htmlUnescape "‍-‍") $id1) -}} {{- $symbol := htmlUnescape " → " -}} {{- /* $symbol := htmlUnescape " ⇒ " */ -}} {{- if $id2 -}} «{{- $id2 -}} {{- replaceRE "/" $symbol $id1parse -}}» {{- else -}} «Menu: {{- replaceRE "/" $symbol $id1parse -}}» {{- end -}}