{{ end }} {{ define "left" }} {{- if and (not .IsDir) (.User.AllowEdit) }} {{- if .Editor}} {{- if eq .Data.Mode "markdown" }} remove_red_eye {{- end }} {{- if eq .Data.Visual true }} code {{- end }} {{/* end if editor */}} save {{- end }}