
--- {ringfairy => data}/assets/styles.css | 0 {ringfairy => data}/templates/grid.html | 0 {ringfairy => data}/templates/random.html | 0 data/templates/redirect.html | 5 +++-- ringfairy.toml | 6 +++--- 5 files changed, 6 insertions(+), 5 deletions(-) rename {ringfairy => data}/assets/styles.css (100%) rename {ringfairy => data}/templates/grid.html (100%) rename {ringfairy => data}/templates/random.html (100%) diff --git a/ringfairy/assets/styles.css b/data/assets/styles.css similarity index 100% rename from ringfairy/assets/styles.css rename to data/assets/styles.css diff --git a/ringfairy/templates/grid.html b/data/templates/grid.html similarity index 100% rename from ringfairy/templates/grid.html rename to data/templates/grid.html diff --git a/ringfairy/templates/random.html b/data/templates/random.html similarity index 100% rename from ringfairy/templates/random.html rename to data/templates/random.html diff --git a/data/templates/redirect.html b/data/templates/redirect.html index a3e01d3..2111226 100644 --- a/data/templates/redirect.html +++ b/data/templates/redirect.html @@ -3,7 +3,7 @@ <head> <meta charset="utf-8"> <meta http-equiv="refresh" content="0; url={{ url }}"> - <title>shring redirecting to {{ url }}...</title> + <title>Redirecting...</title> <style> body { @@ -13,6 +13,7 @@ </style> </head> <body> - <p>$ shring teleport <a href="{{ url }}">{{ url }}</a></p> + <p>A fairy is teleporting you to <a href="{{ url }}">{{ url }}</a>...!</p> </body> </html> + diff --git a/ringfairy.toml b/ringfairy.toml index 8377f0a..c35a12d 100644 --- a/ringfairy.toml +++ b/ringfairy.toml @@ -6,9 +6,9 @@ ring_owner_site = "https://ficd.sh" filepath_list = "./websites.json" # Website list; should be a JSON file with 'name', 'url', etc path_output = "./webring" # Generated files will be saved in this folder. -path_assets = "./ringfairy/assets" # All contents of the asset folder will be copied directly into the output directory -path_templates = "./ringfairy/templates" # The folder containing HTML templates to use, ie, anything with {{ tags }} -filename_template_redirect = "./ringfairy/templates/template.html" # This template gets reused to build the redirect pages for each site, and is ignored when building the other custom templates +path_assets = "./data/assets" # All contents of the asset folder will be copied directly into the output directory +path_templates = "./data/templates" # The folder containing HTML templates to use, ie, anything with {{ tags }} +filename_template_redirect = "redirect.html" # This template gets reused to build the redirect pages for each site, and is ignored when building the other custom templates client_user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36" client_header = "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" -- 2.50.1