readdir will probbaly go away.. but just to appear in the git history...
This commit is contained in:
parent
9ca43a0db7
commit
b6ad4c8b63
1 changed files with 4 additions and 1 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Reference in a new issue