readdir will probbaly go away.. but just to appear in the git history...

This commit is contained in:
Marcell Mars 2022-02-04 13:54:22 +01:00
parent 9ca43a0db7
commit b6ad4c8b63

View file

@ -5,6 +5,9 @@
<p>_Dir: {{ $currentName }}</p>
{{ partial "readdir.html" $currentName }}
{{ else }}
<p>_File: {{ $currentName }}
{{ if eq (path.Ext .Name) ".md" }}
{{ $f := readFile $currentName }}
<textarea wrap="off" col="108" row="48 ">{{ $f }}</textarea>
{{ end }}
{{ end }}
{{ end }}