Compare commits
6 Commits
0e869fe492
...
e3626e903b
Author | SHA1 | Date | |
---|---|---|---|
e3626e903b | |||
7e7ad0190e | |||
c34f6241e6 | |||
59011f718b | |||
94c764d0c9 | |||
80626f59e5 |
|
@ -8,7 +8,7 @@ fn statpost {
|
||||||
post_uri=$base_url^`{cleanname `{echo $f | sed -e 's!^'$sitedir'!!'}}^'/'
|
post_uri=$base_url^`{cleanname `{echo $f | sed -e 's!^'$sitedir'!!'}}^'/'
|
||||||
title=`{read $f/index.md}
|
title=`{read $f/index.md}
|
||||||
by=`{ls -m $f | sed 's/^\[//g; s/].*$//g' >[2]/dev/null}
|
by=`{ls -m $f | sed 's/^\[//g; s/].*$//g' >[2]/dev/null}
|
||||||
ifs=() { summary=`{cat $f/index.md | strip_title_from_md_file | ifs=$difs {$formatter} } }
|
ifs=() { summary=`{cat $f/index.md | head -n 10 | strip_title_from_md_file | ifs=$difs {$formatter} } }
|
||||||
}
|
}
|
||||||
# rfc3339 date when feed was last updated.
|
# rfc3339 date when feed was last updated.
|
||||||
fupdated = `{ndate -a `{date `{mtime `{ls $blagh_root$blagh_dirs/[0-9][0-9][0-9][0-9]/[0-9][0-9]/[0-9][0-9]/[0-9] | tail -1} | awk '{print $1}'}}}
|
fupdated = `{ndate -a `{date `{mtime `{ls $blagh_root$blagh_dirs/[0-9][0-9][0-9][0-9]/[0-9][0-9]/[0-9][0-9]/[0-9] | tail -1} | awk '{print $1}'}}}
|
||||||
|
|
|
@ -10,8 +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 | head -n 10 | strip_title_from_md_file | ifs=$difs {$formatter | escape_html} }}
|
||||||
ifs=() {summary=`{ cat $f/index.md |strip_title_from_md_file | ifs=$difs {$formatter | escape_html} }}
|
# % could also add a | head -n 10 to only show the first few lines.
|
||||||
}
|
}
|
||||||
|
|
||||||
%}
|
%}
|
||||||
|
|
|
@ -1,58 +1,36 @@
|
||||||
/* Fonts */
|
/* Fonts */
|
||||||
|
|
||||||
|
/* Non-default fonts added significant time to first initial load.
|
||||||
|
* Code can still be found in git commit c34f6241
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@font-face {
|
@import url("https://cdn.jsdelivr.net/gh/aaaakshat/cm-web-fonts@latest/fonts.css");
|
||||||
font-family: charter;
|
body {
|
||||||
font-style: normal;
|
font-family: "Computer Modern Serif", serif;
|
||||||
font-weight: normal;
|
|
||||||
font-stretch: normal;
|
|
||||||
src: url('/pub/fonts/charter/charter_regular.woff2') format('woff2');
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Source Serif Pro';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 400;
|
|
||||||
font-display: swap;
|
|
||||||
src: url(https://nunosempere.com/pub/fonts/source-serif/source-serif-pro-latin-ext.woff2) format('woff2'),
|
|
||||||
url(https://nunosempere.com/pub/fonts/source-serif/source-serif-pro-latin.woff2) format('woff2');
|
|
||||||
unicode-range: U+0000-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: charter;
|
|
||||||
font-style: italic;
|
|
||||||
font-weight: normal;
|
|
||||||
font-stretch: normal;
|
|
||||||
src: url('/pub/fonts/charter/charter_italic.woff2') format('woff2');
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: charter;
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: bold;
|
|
||||||
font-stretch: normal;
|
|
||||||
src: url('/pub/fonts/charter/charter_bold.woff2') format('woff2');
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: charter;
|
|
||||||
font-style: italic;
|
|
||||||
font-weight: bold;
|
|
||||||
font-stretch: normal;
|
|
||||||
src: url('/pub/fonts/charter/charter_bold_italic.woff2') format('woff2');
|
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap");
|
||||||
|
|
||||||
/* Body */
|
/* Body */
|
||||||
|
|
||||||
body {
|
body {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
/* font-family: 'Source Serif Pro'; */
|
/*
|
||||||
/* font-family: 'Times New Roman'; */
|
Web safe fonts:
|
||||||
|
font-family: "Georgia", 'serif';
|
||||||
font-family: "Garamond", 'serif';
|
font-family: "Garamond", 'serif';
|
||||||
/* font-family: 'charter'; */
|
font-family: 'Times New Roman';
|
||||||
|
|
||||||
|
More fonts:
|
||||||
|
font-family: 'Source Serif Pro';
|
||||||
|
font-family: "Computer Modern Serif", serif;
|
||||||
|
font-family: 'charter';
|
||||||
|
font-family: "Georgia", 'serif';
|
||||||
|
font-family: "Georgia", 'serif';
|
||||||
|
*/
|
||||||
|
font-family: "Roboto Mono", 'monospace';
|
||||||
font-size: 25px;
|
font-size: 25px;
|
||||||
background-color: #fcfcfc;
|
background-color: #fcfcfc;
|
||||||
color: #333;
|
color: #333;
|
||||||
|
@ -284,6 +262,7 @@ table {
|
||||||
table-layout: fixed;
|
table-layout: fixed;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
table-layout: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
table thead {
|
table thead {
|
||||||
|
|
|
@ -62,8 +62,8 @@ fn listDir {
|
||||||
echo '</li>'
|
echo '</li>'
|
||||||
}
|
}
|
||||||
if not {
|
if not {
|
||||||
echo '/'
|
echo '·'
|
||||||
# echo ' '
|
# / | —
|
||||||
}
|
}
|
||||||
|
|
||||||
echo $base_url^$url >> $tmpfile
|
echo $base_url^$url >> $tmpfile
|
||||||
|
|
Loading…
Reference in New Issue
Block a user