i forgot, whatever

This commit is contained in:
kitsunecafe 2024-02-22 01:29:51 -05:00
parent 34ed33e0ba
commit 1fec537962
6 changed files with 34 additions and 6 deletions

3
.gitignore vendored
View file

@ -1,2 +1,5 @@
.env
out/
# Local Netlify folder
.netlify

View file

@ -3,7 +3,7 @@
if [ -f ".env" ]; then
source .env
rm -rf "${OUT}/*"
../roxy-cli/target/debug/roxy_cli ${IN} ${OUT}
roxy_cli ${IN} ${OUT}
#echo "$CNAME" > "${OUT}/CNAME"
fi

View file

@ -1,8 +1,6 @@
{% extends "../layouts/index.tera" %}
{% block main %}
# Roxy
{% extends "../layouts/topic.tera" %}
{% block content %}
Roxy is a static site generator written with Rust. It's meant to be easy to use and powerful. It isn't meant for large scale projects -- I haven't done any performance testing or even focused on it. Check out the [quick start](/pages/quick-start) for tips on how to get started.
{% endblock main %}
{% endblock content %}

View file

@ -0,0 +1,2 @@
title = "Roxy"

View file

@ -174,3 +174,7 @@ ul, ol {
fill: var(--softer-white) !important;
}
pre {
overflow: auto;
}

21
netlify.toml Normal file
View file

@ -0,0 +1,21 @@
# example netlify.toml
[build]
command = "roxy_cli"
functions = "netlify/functions"
publish = "out"
## Uncomment to use this redirect for Single Page Applications like create-react-app.
## Not needed for static site generators.
#[[redirects]]
# from = "/*"
# to = "/index.html"
# status = 200
## (optional) Settings for Netlify Dev
## https://github.com/netlify/cli/blob/main/docs/netlify-dev.md#project-detection
#[dev]
# command = "yarn start" # Command to start your dev server
# port = 3000 # Port that the dev server will be listening on
# publish = "dist" # Folder with the static content for _redirect file
## more info on configuring this file: https://ntl.fyi/file-based-build-config