~technomancy/fennel-lang.org

1ab4522a99d40fd5c0eadaa8039dbd5b1f50ef43 — Phil Hagelberg 2 months ago 10f792a
Make FennelConf 2020 the default page.
2 files changed, 4 insertions(+), 4 deletions(-)

M conf/.htaccess
M main.fnl
M conf/.htaccess => conf/.htaccess +2 -2
@@ 9,6 9,6 @@ Header set X-XSS-Protection "1; mode=block"
RewriteCond %{SERVER_PORT} 80 
RewriteRule ^(.*)$ https://conf.fennel-lang.org/$1 [R=302,L]

RewriteRule ^$ https://conf.fennel-lang.org/2019 [R=302,L]
RewriteRule ^/$ https://conf.fennel-lang.org/2019 [R=302,L]
RewriteRule ^$ https://conf.fennel-lang.org/2020 [R=302,L]
RewriteRule ^/$ https://conf.fennel-lang.org/2020 [R=302,L]
RewriteRule ^/index.html$ https://conf.fennel-lang.org/2019 [R=302,L]

M main.fnl => main.fnl +2 -2
@@ 90,8 90,8 @@

               [:h2 {} "Documentation"]
               [:ul {}
                [:li {} "Get started with"
                 [:a {:href "/tutorial"} "the Tutorial."]]
                [:li {} "The" [:a {:href "/tutorial"} "Tutorial"]
                 "is a good place to start."]
                [:li {} "The" [:a {:href "/lua-primer"} "Lua primer"]
                 "will catch you up if you don't already know Lua."]
                [:li {} "The" [:a {:href "/reference"} "Reference"] "lists "