savepoint
This commit is contained in:
parent
c34f6241e6
commit
7e7ad0190e
|
@ -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,7 +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 | ifs=$difs {$formatter | escape_html} }}
|
ifs=() {summary=`{ cat $f/index.md | head -n 10 | strip_title_from_md_file | ifs=$difs {$formatter | escape_html} }}
|
||||||
# % could also add a | head -n 10 to only show the first few lines.
|
# % could also add a | head -n 10 to only show the first few lines.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,61 +1,36 @@
|
||||||
/* Fonts */
|
/* Fonts */
|
||||||
|
|
||||||
/* Removed because it added significant time to first initial load. Code can still be found in git commit [...]
|
/* Non-default fonts added significant time to first initial load.
|
||||||
@font-face {
|
* Code can still be found in git commit c34f6241
|
||||||
font-family: charter;
|
*/
|
||||||
font-style: normal;
|
|
||||||
font-weight: normal;
|
|
||||||
font-stretch: normal;
|
|
||||||
src: url('/pub/fonts/charter/charter_regular.woff2') format('woff2');
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
/*
|
||||||
font-family: 'Source Serif Pro';
|
@import url("https://cdn.jsdelivr.net/gh/aaaakshat/cm-web-fonts@latest/fonts.css");
|
||||||
font-style: normal;
|
body {
|
||||||
font-weight: 400;
|
font-family: "Computer Modern Serif", serif;
|
||||||
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');
|
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* 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-size: 25px;
|
font-size: 25px;
|
||||||
background-color: #fcfcfc;
|
background-color: #fcfcfc;
|
||||||
color:#333;
|
color: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
* { /* incorporates the padding and borders into the object size*/
|
* { /* incorporates the padding and borders into the object size*/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user