minor fixes
This commit is contained in:
4
build.sh
4
build.sh
@@ -1,10 +1,6 @@
|
||||
echo "Starting build..."
|
||||
|
||||
# TODO: Check if current version is latest to avoid redundant installation
|
||||
if [[ -f "tailwindcss" ]]
|
||||
then
|
||||
rm tailwindcss
|
||||
fi
|
||||
|
||||
# checks os and architecture for correct release
|
||||
# https://stackoverflow.com/a/8597411
|
||||
|
||||
6
start.sh
6
start.sh
@@ -7,16 +7,16 @@ fi
|
||||
# initialized and configures tailwind if not configured
|
||||
if [ ! -f "tailwind.config.js" ]
|
||||
then
|
||||
tailwindcss init
|
||||
./tailwindcss init
|
||||
sed -i '' "s| content: \\[\\],| content: \\['./templates/**/*.html'\\],|g" tailwind.config.js
|
||||
fi
|
||||
|
||||
# compiles tailwind css & launches locally
|
||||
rm -rf public static/css
|
||||
tailwindcss -i css/index.css -o ./static/css/index.css --watch & zola serve &
|
||||
./tailwindcss -i css/index.css -o ./static/css/index.css --watch & zola serve &
|
||||
|
||||
# compiles tailwind css for prod & builds project
|
||||
tailwindcss -i css/index.css -o ./static/css/index.css --minify
|
||||
./tailwindcss -i css/index.css -o ./static/css/index.css --minify
|
||||
zola build
|
||||
|
||||
# kills zola and tw bg processes on interrupt
|
||||
|
||||
4352
static/css/index.css
4352
static/css/index.css
File diff suppressed because one or more lines are too long
@@ -1,4 +1,3 @@
|
||||
{{ featured }}
|
||||
{% if featured.taxonomies.people %}
|
||||
{% set author_path = 'people/' ~ featured.taxonomies.people[0] ~ '/index.md' %}
|
||||
{% set author = get_page(path=author_path) %}
|
||||
|
||||
Reference in New Issue
Block a user