Proper handling of .txt files in sitemaps, sidebar and dir listings.
This commit is contained in:
parent
de5898ddde
commit
eade40776a
2 changed files with 2 additions and 2 deletions
|
|
@ -21,7 +21,7 @@ fn listDir {
|
|||
echo ''
|
||||
if not {
|
||||
|
||||
for ( i in `{ ls -d $d/*/ $d/*.md $d/*.html >[2]/dev/null |sed $dirfilter^'/index$/d;' } ) {
|
||||
for ( i in `{ ls -d $d/*/ $d/*.md $d/*.html $d/*.txt >[2]/dev/null |sed $dirfilter^'/index$/d;' } ) {
|
||||
desc = ''
|
||||
if (test -f $i.md) {
|
||||
desc = `{ getMdDesc $i.md }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue