Initial commit

This commit is contained in:
2022-11-08 07:19:57 -05:00
commit 3697085412
5 changed files with 31 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
public

3
build Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/sh
./zola build

16
config.toml Executable file
View File

@@ -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

3
serve Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/sh
./zola serve --interface 0.0.0.0 --port 8080 --base-url localhost

8
zola Executable file
View File

@@ -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 "$@"