Compare commits

..

3 Commits

3 changed files with 10 additions and 7 deletions

View File

@ -10,7 +10,8 @@ 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 9 | ifs=$difs {$formatter | escape_html} }}
ifs=() {summary=`{ cat $f/index.md |strip_title_from_md_file | ifs=$difs {$formatter | escape_html} }}
} }
%} %}

View File

@ -55,7 +55,6 @@ body {
/* font-family: 'charter'; */ /* font-family: 'charter'; */
font-size: 25px; font-size: 25px;
background-color: #fcfcfc; background-color: #fcfcfc;
line-height: 130%;
color:#333; color:#333;
} }
@ -147,6 +146,7 @@ article{
min-width: 70%; min-width: 70%;
padding-left: 1em; padding-left: 1em;
color: #333; color: #333;
line-height: 140%;
/* padding: 0.3em 0 0 0; */ /* padding: 0.3em 0 0 0; */
} }
@ -369,7 +369,8 @@ img + em {
@media screen and (max-width: 1000px) { @media screen and (max-width: 1000px) {
body { body {
display: block; display: block;
font-size: 40px; font-size: 25px;
line-height: 140%;
} }
.img-frontpage-center { .img-frontpage-center {
width: 60%; /* 700px * 0.6 = 420px */ width: 60%; /* 700px * 0.6 = 420px */

View File

@ -31,7 +31,7 @@ fn listDir {
siblings=`{get_children $d} siblings=`{get_children $d}
numsiblings = $#siblings numsiblings = $#siblings
if(! ~ $numsiblings 0 && ! ~ $numsiblings 1){ 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) { for(i in $siblings) {
ownchildren= `{get_children $i} ownchildren= `{get_children $i}
@ -42,16 +42,16 @@ fn listDir {
## Open list? ## Open list?
if(! ~ $numsiblings 1){ if(! ~ $numsiblings 1){
echo '<li>' echo '<li style="list-style-type: none; list-style-position: outside; ">'
} }
if(! ~ $#filename 0 && ! ~ $filename '') { if(! ~ $#filename 0 && ! ~ $filename '') {
# filename=' — '$"filename # filename=' — '$"filename
echo '<a href="'$url'">'^$"filename^'</a>' echo '<a href="'$url'" >'^$"filename^'</a>'
} }
if not { if not {
if(! ~ $"dirname $filtereddirs) if(! ~ $"dirname $filtereddirs)
echo '<a href="'$url'">'^$"dirname^'</a>' echo '<a href="'$url'" style="text-decoration: none;" >'^$"dirname^'</a>'
} }
## echo $numsiblings' '$numownchildren ## echo $numsiblings' '$numownchildren
@ -63,6 +63,7 @@ fn listDir {
} }
if not { if not {
echo '/' echo '/'
# echo '&nbsp;'
} }
echo $base_url^$url >> $tmpfile echo $base_url^$url >> $tmpfile