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'!!'}}^'/'
|
||||
title=`{read $f/index.md}
|
||||
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.
|
||||
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}
|
||||
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 | 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.
|
||||
}
|
||||
|
||||
|
|
|
@ -1,58 +1,33 @@
|
|||
/* Fonts */
|
||||
|
||||
/* Removed because it added significant time to first initial load. Code can still be found in git commit [...]
|
||||
@font-face {
|
||||
font-family: charter;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-stretch: normal;
|
||||
src: url('/pub/fonts/charter/charter_regular.woff2') format('woff2');
|
||||
}
|
||||
/* Non-default fonts added significant time to first initial load.
|
||||
* Code can still be found in git commit c34f6241
|
||||
*/
|
||||
|
||||
@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://cdn.jsdelivr.net/gh/aaaakshat/cm-web-fonts@latest/fonts.css");
|
||||
body {
|
||||
font-family: "Computer Modern Serif", serif;
|
||||
}
|
||||
*/
|
||||
|
||||
/* Body */
|
||||
|
||||
body {
|
||||
display: flex;
|
||||
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: '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;
|
||||
background-color: #fcfcfc;
|
||||
color: #333;
|
||||
|
|
Loading…
Reference in New Issue
Block a user