probably added by apache. Unneeded.

main
Astoria 2 years ago
parent ac87d6bfc7
commit 629fbe0b95

17
v5.rb

@ -13,6 +13,10 @@ get '/media' do
erb :folderpage
end
get '/media/' do
erb :folderpage
end
get '/media/*' do
erb :blogpage
end
@ -21,6 +25,10 @@ get '/technology' do
erb :folderpage
end
get '/technology/' do
erb :folderpage
end
get '/technology/*' do
erb :blogpage
end
@ -29,6 +37,10 @@ get '/news' do
erb :folderpage
end
get '/news/' do
erb :folderpage
end
get '/news/*' do
erb :blogpage
end
@ -43,4 +55,9 @@ end
get '/contact' do
erb :contactpage
end
not_found do
status 404
erb :oops
end

@ -1,6 +1,6 @@
<!DOCTYPE html>
<html lang="en">
<% title = request.path_info[1..-1].capitalize %>
<% title = request.path_info[1..-1].capitalize.gsub(/\/$/, "") %>
<head>
<title><%= title %></title>
<meta name="description" content="broken-moon.net - <%= title %>" />

@ -1,7 +1,6 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" type="text/css" href="css/splash.css" />
<link rel="stylesheet" type="text/css" href="/css/fonts.css" />

@ -1,4 +1,4 @@
<div class="section homesection centre">
<div class="section homesection center">
<img class="homelargeimg" src="images/front.gif" alt="Welcome Image - Large">
<img class="homesmallimg" src="images/frontsmall.gif" alt="Welcome Image - Small">
<span class="homemessage fakeLink">Broken-Moon.net</span>

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="css/splash.css" />
<link rel="stylesheet" type="text/css" href="/css/fonts.css" />
<style type="text/css">
html, body {margin: 0; height: 100%; overflow: hidden}
</style>
<meta property="og:type" content="website" />
<meta property="og:title" content="~$ Reconnect to the Broken-Moon Network" />
<meta property="og:image" content="/images/banner.gif" />
<meta property="og:image:type" content="image/gif" />
<meta property="og:image:width" content="88" />
<meta property="og:image:height" content="31" />
</head>
<body>
<h1><span><a href="/home">~$ Reconnect to the Broken-Moon Network</a></span></h1>
</body>
</html>
Loading…
Cancel
Save