actually, for extremely large posts, just present the first 1k lines.
This commit is contained in:
parent
0e869fe492
commit
80626f59e5
|
@ -10,8 +10,7 @@ fn statpost {
|
||||||
by=`{ls -m $f | sed 's/^\[//g; s/].*$//g' >[2]/dev/null}
|
by=`{ls -m $f | sed 's/^\[//g; s/].*$//g' >[2]/dev/null}
|
||||||
extracted_on=`{echo $relative_uri | sed 's|/blog/||g' | head -c 10 }
|
extracted_on=`{echo $relative_uri | sed 's|/blog/||g' | head -c 10 }
|
||||||
published_on=`{ /bin/date -R -D '%Y/%m/%d' -d $extracted_on }
|
published_on=`{ /bin/date -R -D '%Y/%m/%d' -d $extracted_on }
|
||||||
# ifs=() {summary=`{ cat $f/index.md |strip_title_from_md_file | head -n 9 | ifs=$difs {$formatter | escape_html} }}
|
ifs=() {summary=`{ cat $f/index.md | strip_title_from_md_file | head -n 1000 | ifs=$difs {$formatter | escape_html} }}
|
||||||
ifs=() {summary=`{ cat $f/index.md |strip_title_from_md_file | ifs=$difs {$formatter | escape_html} }}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
%}
|
%}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user