i forgot, whatever
This commit is contained in:
parent
34ed33e0ba
commit
1fec537962
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,2 +1,5 @@
|
||||||
.env
|
.env
|
||||||
out/
|
out/
|
||||||
|
|
||||||
|
# Local Netlify folder
|
||||||
|
.netlify
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
if [ -f ".env" ]; then
|
if [ -f ".env" ]; then
|
||||||
source .env
|
source .env
|
||||||
rm -rf "${OUT}/*"
|
rm -rf "${OUT}/*"
|
||||||
../roxy-cli/target/debug/roxy_cli ${IN} ${OUT}
|
roxy_cli ${IN} ${OUT}
|
||||||
#echo "$CNAME" > "${OUT}/CNAME"
|
#echo "$CNAME" > "${OUT}/CNAME"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
{% extends "../layouts/index.tera" %}
|
{% extends "../layouts/topic.tera" %}
|
||||||
|
|
||||||
{% block main %}
|
|
||||||
# Roxy
|
|
||||||
|
|
||||||
|
{% 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.
|
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 %}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
title = "Roxy"
|
||||||
|
|
|
@ -174,3 +174,7 @@ ul, ol {
|
||||||
fill: var(--softer-white) !important;
|
fill: var(--softer-white) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pre {
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
21
netlify.toml
Normal file
21
netlify.toml
Normal 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
|
Loading…
Reference in a new issue