Compare commits
3 Commits
8533f44378
...
0e869fe492
Author | SHA1 | Date | |
---|---|---|---|
0e869fe492 | |||
9903632357 | |||
daa2e098ad |
|
@ -10,7 +10,8 @@ fn statpost {
|
|||
by=`{ls -m $f | sed 's/^\[//g; s/].*$//g' >[2]/dev/null}
|
||||
extracted_on=`{echo $relative_uri | sed 's|/blog/||g' | head -c 10 }
|
||||
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 9 | ifs=$difs {$formatter | escape_html} }}
|
||||
ifs=() {summary=`{ cat $f/index.md |strip_title_from_md_file | ifs=$difs {$formatter | escape_html} }}
|
||||
}
|
||||
|
||||
%}
|
||||
|
|
|
@ -55,7 +55,6 @@ body {
|
|||
/* font-family: 'charter'; */
|
||||
font-size: 25px;
|
||||
background-color: #fcfcfc;
|
||||
line-height: 130%;
|
||||
color:#333;
|
||||
}
|
||||
|
||||
|
@ -147,6 +146,7 @@ article{
|
|||
min-width: 70%;
|
||||
padding-left: 1em;
|
||||
color: #333;
|
||||
line-height: 140%;
|
||||
/* padding: 0.3em 0 0 0; */
|
||||
}
|
||||
|
||||
|
@ -369,7 +369,8 @@ img + em {
|
|||
@media screen and (max-width: 1000px) {
|
||||
body {
|
||||
display: block;
|
||||
font-size: 40px;
|
||||
font-size: 25px;
|
||||
line-height: 140%;
|
||||
}
|
||||
.img-frontpage-center {
|
||||
width: 60%; /* 700px * 0.6 = 420px */
|
||||
|
|
|
@ -31,7 +31,7 @@ fn listDir {
|
|||
siblings=`{get_children $d}
|
||||
numsiblings = $#siblings
|
||||
if(! ~ $numsiblings 0 && ! ~ $numsiblings 1){
|
||||
echo '<ul class="sitemap-list">'
|
||||
echo '<ul class="sitemap-list" style="list-style-type: none; list-style-position: outside;" >'
|
||||
}
|
||||
for(i in $siblings) {
|
||||
ownchildren= `{get_children $i}
|
||||
|
@ -42,16 +42,16 @@ fn listDir {
|
|||
|
||||
## Open list?
|
||||
if(! ~ $numsiblings 1){
|
||||
echo '<li>'
|
||||
echo '<li style="list-style-type: none; list-style-position: outside; ">'
|
||||
}
|
||||
|
||||
if(! ~ $#filename 0 && ! ~ $filename '') {
|
||||
# filename=' — '$"filename
|
||||
echo '<a href="'$url'">'^$"filename^'</a>'
|
||||
echo '<a href="'$url'" >'^$"filename^'</a>'
|
||||
}
|
||||
if not {
|
||||
if(! ~ $"dirname $filtereddirs)
|
||||
echo '<a href="'$url'">'^$"dirname^'</a>'
|
||||
echo '<a href="'$url'" style="text-decoration: none;" >'^$"dirname^'</a>'
|
||||
}
|
||||
|
||||
## echo $numsiblings' '$numownchildren
|
||||
|
@ -63,6 +63,7 @@ fn listDir {
|
|||
}
|
||||
if not {
|
||||
echo '/'
|
||||
# echo ' '
|
||||
}
|
||||
|
||||
echo $base_url^$url >> $tmpfile
|
||||
|
|
Loading…
Reference in New Issue
Block a user