Fixed botched merge.
This commit is contained in:
parent
0e76186f55
commit
2546de5826
1 changed files with 3 additions and 0 deletions
|
|
@ -76,6 +76,8 @@ fn genbody {
|
|||
markdown.pl < $body.md
|
||||
if not if ( test -f $body.tpl )
|
||||
template.awk $body.tpl | rc
|
||||
if not if ( ~ $body */blog/index */blog//index && ~ $#blogDirs 0 )
|
||||
blogDirs = `{basename -d $body}
|
||||
if not if(~ $body */index && ~ $#blogDirs 0) {
|
||||
echo '<h1>' `{basename `{basename -d $body}}'</h1>'
|
||||
echo '<ul>'
|
||||
|
|
@ -89,6 +91,7 @@ fn genbody {
|
|||
if(! ~ $#blogDirs 0) {
|
||||
if ( ! ~ $blogTitle '' )
|
||||
echo '<h1>'$"blogTitle'</h1>'
|
||||
echo '<div align="right">(<a href="index.rss">rss feed</a>)</div>'
|
||||
for ( f in `{ sortedBlogPostList $blogDirs } ) {
|
||||
title=`{basename $f | sed 's/^[0-9\-]*_(.*)\.md$/\1/; s/_/ /g' }
|
||||
du=`{ls -l $f}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue