From fe48bee6e9d409704bc09b1ae5527e2de1115fc8 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Mon, 21 Dec 2020 21:16:43 +0100 Subject: Added makefile --- build.sh | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100755 build.sh (limited to 'build.sh') diff --git a/build.sh b/build.sh deleted file mode 100755 index bc733cc..0000000 --- a/build.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash - -SITE_TITLE="Volpeon's Den" - -rm -rf dist/* - -sassc assets/style.scss dist/style.css -node_modules/.bin/postcss dist/style.css -r - -pyftsubset assets/iosevka-term-ss09-regular.ttf \ - --text-file='assets/glyphs.txt' \ - --layout-features+=ss09,dlig \ - --flavor='woff2' \ - --output-file='dist/iosevka-term-ss09-regular.woff2' - -pyftsubset assets/iosevka-term-ss09-bold.ttf \ - --text-file='assets/glyphs.txt' \ - --layout-features+=ss09,dlig \ - --flavor='woff2' \ - --output-file='dist/iosevka-term-ss09-bold.woff2' - -find content/ \ - -iname "*.md" \ - -type f \ - -exec sh -c 'TARGET=dist/$(echo ${0%.md}.html | cut -sd / -f 2-); mkdir -p $(dirname $TARGET) && pandoc "${0}" -t html5 --template templates/base.html -o "$TARGET" --metadata sitetitle="$1"' {} "$SITE_TITLE" \; -- cgit v1.2.3-54-g00ecf