commit 36970854129e37a993b8d1ca2f885f443b3d08e4 Author: James Brechtel Date: Tue Nov 8 07:19:57 2022 -0500 Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a48cf0d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +public diff --git a/build b/build new file mode 100755 index 0000000..af50dc3 --- /dev/null +++ b/build @@ -0,0 +1,3 @@ +#!/bin/sh + +./zola build diff --git a/config.toml b/config.toml new file mode 100755 index 0000000..dec7602 --- /dev/null +++ b/config.toml @@ -0,0 +1,16 @@ +# The URL the site will be built for +base_url = "https://jamesbrechtel.com" + +# Whether to automatically compile all Sass files in the sass directory +compile_sass = true + +# Whether to build a search index to be used later on by a JavaScript library +build_search_index = true + +[markdown] +# Whether to do syntax highlighting +# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola +highlight_code = true + +[extra] +# Put all your custom variables here diff --git a/serve b/serve new file mode 100755 index 0000000..d28b52c --- /dev/null +++ b/serve @@ -0,0 +1,3 @@ +#!/bin/sh + +./zola serve --interface 0.0.0.0 --port 8080 --base-url localhost diff --git a/zola b/zola new file mode 100755 index 0000000..8e547e9 --- /dev/null +++ b/zola @@ -0,0 +1,8 @@ +#!/bin/sh + +docker run --rm -it -u "$(id -u):$(id -g)" \ + -v $PWD:/app \ + --workdir /app \ + -p 1024:1024 \ + -p 8080:8080 \ + ghcr.io/getzola/zola:v0.16.0 "$@"