summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-01-08 03:13:44 -0800
committerelijah <elijah@riseup.net>2014-01-08 03:13:44 -0800
commit8b41350baf3aaa4988843a9bc2e8884abec07c4c (patch)
tree61dce1acbb916d37c8abf65f257b6d397b7dba1f /README.md
parent020b3a8d972005207129a6af7a2c519fb0981820 (diff)
switched to using amber, added all the main pages.
Diffstat (limited to 'README.md')
-rw-r--r--README.md54
1 files changed, 30 insertions, 24 deletions
diff --git a/README.md b/README.md
index 21596eb..ef76154 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,15 @@ Bitmask downloads
This is the Bitmask download website (https://dl.bitmask.net)
-It is entirely static, but relies on a bunch of apache tricks for things like language negotiation, server side includes, and pretty directory indexes.
+It is entirely static, but relies on a bunch of apache tricks for things like language negotiation and pretty directory indexes.
+
+The static content files in ./public/ are rendered from the content in ./pages/ using the command `amber rebuild`.
+
+To install amber:
+
+ gem install amber
+
+See https://github.com/elijh/amber for more information.
Requirements
-----------------------------------------
@@ -32,42 +40,34 @@ The following apache directives are required, on the document root:
Options +MultiViews
##
- ## SERVER SIDE INCLUDES
- ##
-
- AddType text/html .shtml
- AddOutputFilter INCLUDES .shtml
- Options +Includes
-
- ##
## REWRITES
##
Options +FollowSymLinks
RewriteEngine on
- LogLevel alert rewrite:trace4
+ #LogLevel alert rewrite:trace4
#
# Allow /:locale/ prefix path if the document exists
- # e.g. /de/blah/ ==> /blah/index.de.shtml
+ # e.g. /de/blah/ ==> /blah/index.de.html
#
- RewriteCond %{DOCUMENT_ROOT}/$2/index.$1.shtml -f
- RewriteRule ^([a-z]{2})/(.*) /$2/index.$1.shtml [L]
+ RewriteCond %{DOCUMENT_ROOT}/$2/index.$1.html -f
+ RewriteRule ^([a-z]{2})/(.*) /$2/index.$1.html [L]
- RewriteCond %{DOCUMENT_ROOT}/index.$1.shtml -f
- RewriteRule ^([a-z]{2})$ /index.$1.shtml [L]
+ RewriteCond %{DOCUMENT_ROOT}/index.$1.html -f
+ RewriteRule ^([a-z]{2})$ /index.$1.html [L]
#
# Fall back to english if the document doesn't exist
- # e.g. /xx/blah ==> /blah/index.en.shtml
+ # e.g. /xx/blah ==> /blah/index.en.html
#
- RewriteCond %{DOCUMENT_ROOT}/$2/index.$1.shtml !-f
- RewriteRule ^([a-z]{2})/(.*) /$2/index.en.shtml [L]
+ RewriteCond %{DOCUMENT_ROOT}/$2/index.$1.html !-f
+ RewriteRule ^([a-z]{2})/(.*) /$2/index.en.html [L]
- RewriteCond %{DOCUMENT_ROOT}/index.$1.shtml !-f
- RewriteRule ^([a-z]{2})$ /index.en.shtml [L]
+ RewriteCond %{DOCUMENT_ROOT}/index.$1.html !-f
+ RewriteRule ^([a-z]{2})$ /index.en.html [L]
##
## Index Directories
@@ -123,8 +123,14 @@ The following apache directives are required, on the document root:
Credits
-----------------------------------------
-Stylesheet is adapted from Apaxy, in the public domain.
-https://github.com/AdamWhitcroft/Apaxy
+Dir listing style from Apaxy - https://github.com/AdamWhitcroft/Apaxy
+License: in the public domain.
+
+Icons are from "Faenza Icons" -- http://tiheum.deviantart.com/art/Faenza-Icons-173323228
+License: GNU General Public License.
+
+Stylesheet is from Bootstrap -- http://getbootstrap.com
+License: Apache, version 2 -- https://www.apache.org/licenses/LICENSE-2.0.html
-Icons are from "Faenza Icons" Licensed under the GPL.
-http://tiheum.deviantart.com/art/Faenza-Icons-173323228
+The fonts are Font Awesome -- http://fortawesome.github.io
+License: SIL OFL 1.1 -- http://scripts.sil.org/OFL