Skip to content

Commit 5a61a55

Browse files
committed
Minor site fixes
1 parent f765054 commit 5a61a55

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

website/.htaccess

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@ RewriteCond %{HTTP_HOST} ^newcoder.io[nc]
33
RewriteRule ^(.*)$ http://www.newcoder.io/$1 [r=301,nc]
44
RedirectMatch 301 /~drafts/networks/(.*) /networks/$1
55
RedirectMatch 301 /Begin/(.*) /begin/$1
6+
RedirectMatch 301 /About/(.*) /about/$1
7+
RedirectMatch 301 /Contact/(.*) /contact/$1
68

79
ErrorDocument 404 /404.html

website/404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<div class="content">
55
<h1 class="text-center">Eeep! Page not found!</h1>
66
<div class="center-block">
7-
<img class="displayed img-responsive" src="assets/images/404image.jpg" width="500px" />
7+
<img class="displayed" src="{{ get_asset('images/404image.jpg') }}" width="500px" />
88
</div>
99
<h3 class="text-center">This URL doesn’t point to anything.</h3>
1010
<p class="text-center">Is it supposed to? Or is it an old book mark? Please let <a href="mailto:lynn [at] newcoder [dot] io">me</a> know!</p>

website/_templates/layout.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
</div>
2424
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
2525
<ul class="nav navbar-nav">
26-
<li><a href="{{ get_url('About/') }}">About</a></li>
26+
<li><a href="{{ get_url('about/') }}">About</a></li>
2727
<li><a href="{{ get_url('tutorials/') }}">Tutorials</a></li>
2828
<li><a href="{{ get_url('workshop/')}}">Workshop Kits</a></li>
29-
<li><a href="{{ get_url('Contact/') }}">Contact</a></li>
29+
<li><a href="{{ get_url('contact/') }}">Contact</a></li>
3030
<li><a data-ct-checkout="newcoder.newcoder-io">Donate</a></li>
3131
</ul>
3232
<ul class="nav navbar-nav navbar-right">

0 commit comments

Comments
 (0)