From 1409ff96cdfc4fd6176f36f60fbe86dde1b3b6e4 Mon Sep 17 00:00:00 2001 From: mjfernez Date: Tue, 8 Jun 2021 11:18:04 -0400 Subject: Added ability to override templates. This commit primarily adds the ability to override the base template by adding a '!' on HTML files. It also makes adjustments to the index page display to not show this extra character. Additions to the README reflecting this change, as well as small note on similarity to neocities was added --- templates/site/.home.html.swp | Bin 0 -> 12288 bytes templates/site/.license.html.swp | Bin 0 -> 12288 bytes templates/site/fun/.renegade.html!.swp | Bin 0 -> 12288 bytes templates/site/fun/renegade.html! | 6 ++++++ 4 files changed, 6 insertions(+) create mode 100644 templates/site/.home.html.swp create mode 100644 templates/site/.license.html.swp create mode 100644 templates/site/fun/.renegade.html!.swp create mode 100644 templates/site/fun/renegade.html! (limited to 'templates/site') diff --git a/templates/site/.home.html.swp b/templates/site/.home.html.swp new file mode 100644 index 0000000..b2cc13b Binary files /dev/null and b/templates/site/.home.html.swp differ diff --git a/templates/site/.license.html.swp b/templates/site/.license.html.swp new file mode 100644 index 0000000..d1b0b90 Binary files /dev/null and b/templates/site/.license.html.swp differ diff --git a/templates/site/fun/.renegade.html!.swp b/templates/site/fun/.renegade.html!.swp new file mode 100644 index 0000000..6d77db2 Binary files /dev/null and b/templates/site/fun/.renegade.html!.swp differ diff --git a/templates/site/fun/renegade.html! b/templates/site/fun/renegade.html! new file mode 100644 index 0000000..cc1e6f8 --- /dev/null +++ b/templates/site/fun/renegade.html! @@ -0,0 +1,6 @@ + + +

This file breaks all the rules!

+

This file doesn't use the base template.

+ + -- cgit v1.2.3