Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding about page

  • Loading branch information...
commit 8dead65ad15b39050d3074e32d8e56e7188c9018 1 parent 3139df3
@swaroopch authored
View
33 resources/about.mustache
@@ -0,0 +1,33 @@
+{{>header}}
+
+<div class="container-fluid">
+ <div class="row-fluid">
+ <div class="span8 offset2">
+ <h1>About isbn.net.in</h1>
+ <p>
+ History of the project is at
+ <a href="http://swaroopch.com/tag/isbnnetin/">http://swaroopch.com/tag/isbnnetin/</a>.
+ </p>
+ <p>
+ The source code of this website is available at
+ <a href="https://github.com/swaroopch/isbnnetinclj2">https://github.com/swaroopch/isbnnetinclj2</a>,
+ so you can read and learn how it works.
+ </p>
+ <p>
+ Tools used:
+ </p>
+ <ul>
+ <li>Clojure</li>
+ <li><a href="https://www.taoensso.com/clojure-libraries">Peter Taoussanis's Clojure libraries</a></li>
+ <li><a href="https://github.com/cgrand/enlive/wiki">Enlive</a></li>
+ <li>AWS DynamoDB</li>
+ <li>Redis</li>
+ <li>Twitter Bootstrap</li>
+ <li>Heroku</li>
+ <li><a href="https://github.com/swaroopch/isbnnetinclj2/blob/master/project.clj">And more...</a></li>
+ </ul>
+ </div>
+ </div>
+</div>
+
+{{>footer}}
View
2  resources/header.mustache
@@ -19,7 +19,7 @@
<div class="container">
<a class="brand" href="/">isbn.net.in</a>
<ul class="nav">
- <li><a href="/about">About</a></li>
+ <li><a href="/about/">About</a></li>
<li><a href="http://swaroopch.com/contact/">Contact</a></li>
</ul>
</div>
View
5 src/isbnnetinclj2/handler.clj
@@ -8,8 +8,13 @@
[]
(mus/render-file "frontpage" {:title "isbn.net.in"}))
+(defn about-page-content
+ []
+ (mus/render-file "about" {:title "About isbn.net.in"}))
+
(defroutes app-routes
(GET "/" [] (front-page-content))
+ (GET "/about/" [] (about-page-content))
(route/resources "/")
(route/not-found "Not Found"))
Please sign in to comment.
Something went wrong with that request. Please try again.