enabled lining nums and now clear old serve dirs
This commit is contained in:
parent
53154ec9b7
commit
808ebfdfa2
3 changed files with 22 additions and 24 deletions
|
@ -6,5 +6,4 @@
|
|||
</h1>
|
||||
|
||||
<div id="writings" style="color: var(--lighter-color); line-height: var(--ui-spacing);"></span>
|
||||
|
||||
<p><strong>Welcome! Below are links to things I've made or just enjoy.</strong></p>
|
37
build.sh
37
build.sh
|
@ -56,29 +56,20 @@ done
|
|||
rm css/code.css
|
||||
pygmentize -f html -S algol_nu | grep -v 'line-height' >css/code.css
|
||||
|
||||
builtin pushd acl.cool
|
||||
soup_config
|
||||
soupault
|
||||
NEXT_DIR="serve_$(date +%s)"
|
||||
CUR_DIR=$(find . -maxdepth 1 -type d -regex './serve_[0-9]+')
|
||||
echo "$PREV_DIR"
|
||||
cp -a serve "$NEXT_DIR"
|
||||
ln -sfn "$NEXT_DIR" serve_
|
||||
for d in $CUR_DIR; do
|
||||
rm -r $d
|
||||
for site in acl.cool ytheleus.org; do
|
||||
pushd "$site"
|
||||
soup_config
|
||||
rm -rf serve/
|
||||
soupault
|
||||
NEXT_DIR="serve_$(date +%s)"
|
||||
CUR_DIR=$(find . -maxdepth 1 -type d -regex './serve_[0-9]+')
|
||||
echo "$PREV_DIR"
|
||||
cp -a serve "$NEXT_DIR"
|
||||
ln -sfn "$NEXT_DIR" serve_
|
||||
for d in $CUR_DIR; do
|
||||
rm -r $d
|
||||
done
|
||||
popd
|
||||
done
|
||||
popd
|
||||
|
||||
builtin pushd ytheleus.org
|
||||
soup_config
|
||||
soupault
|
||||
NEXT_DIR="serve_$(date +%s)"
|
||||
CUR_DIR=$(find . -maxdepth 1 -type d -regex './serve_[0-9]+')
|
||||
cp -a serve "$NEXT_DIR"
|
||||
ln -sfn "$NEXT_DIR" serve_
|
||||
for d in $CUR_DIR; do
|
||||
rm -r $d
|
||||
done
|
||||
popd
|
||||
|
||||
deactivate
|
||||
|
|
|
@ -59,6 +59,7 @@
|
|||
src: url('../assets/fonts/Alegreya/static/Alegreya-Regular-Subset.woff2') format('woff2');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-feature-settings: "lnum" 1, "kern" 1, "liga" 1;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
|
@ -66,6 +67,7 @@
|
|||
src: url('../assets/fonts/Alegreya/static/Alegreya-Italic-Subset.woff2') format('woff2');
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
font-feature-settings: "lnum" 1, "kern" 1, "liga" 1;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
|
@ -73,6 +75,7 @@
|
|||
src: url('../assets/fonts/Alegreya/static/Alegreya-Bold-Subset.woff2') format('woff2');
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
font-feature-settings: "lnum" 1, "kern" 1, "liga" 1;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
|
@ -80,6 +83,7 @@
|
|||
src: url('../assets/fonts/Alegreya/static/Alegreya-BoldItalic-Subset.woff2') format('woff2');
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
font-feature-settings: "lnum" 1, "kern" 1, "liga" 1;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
|
@ -87,6 +91,7 @@
|
|||
src: url('../assets/fonts/Alegreya_Sans/AlegreyaSans-Regular-Subset.woff2') format('woff2');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-feature-settings: "lnum" 1, "kern" 1, "liga" 1;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
|
@ -94,6 +99,7 @@
|
|||
src: url('../assets/fonts/Alegreya_Sans/AlegreyaSans-Italic-Subset.woff2') format('woff2');
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
font-feature-settings: "lnum" 1, "kern" 1, "liga" 1;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
|
@ -101,6 +107,7 @@
|
|||
src: url('../assets/fonts/Alegreya_Sans/AlegreyaSans-Bold-Subset.woff2') format('woff2');
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
font-feature-settings: "lnum" 1, "kern" 1, "liga" 1;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
|
@ -108,6 +115,7 @@
|
|||
src: url('../assets/fonts/Alegreya_Sans/AlegreyaSans-BoldItalic-Subset.woff2') format('woff2');
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
font-feature-settings: "lnum" 1, "kern" 1, "liga" 1;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue