Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added header and footer

  • Loading branch information...
commit 1d62df9d713fcce3e19c2213ed198c6a18cd10c0 1 parent c187263
@fogus fogus authored
Showing with 45 additions and 26 deletions.
  1. +18 −0 docs/footer.org
  2. +22 −0 docs/header.org
  3. +5 −26 docs/index.org
View
18 docs/footer.org
@@ -0,0 +1,18 @@
+#+begin_html
+ </div>
+
+ <a class="button" href="http://github.com/clojure/core.contracts">source code &rarr;</a>
+ <a class="button" href="http://github.com/clojure/core.contracts/issues">tickets &rarr;</a>
+
+ <div class="footer">
+ &copy; 2010-2013 Michael Fogus <br/>
+ theme based on a design by <a href="http://rinich.tumblr.com">Rory Marinich</a>
+ </div>
+ </div>
+</div>
+#+end_html
+
+# Local Variables:
+# org-export-html-style-include-default: nil
+# org-export-html-style-include-scripts: nil
+# org-export-html-postamble: nil
View
22 docs/header.org
@@ -0,0 +1,22 @@
+#+begin_html
+<div id="rinich">
+ <div class="log">
+ <div class="description">a contracts-programming library for <a href="http://clojure.org">Clojure</a></div>
+ <div class="item">
+ <h4>Contracts Programming</h4>
+ <div class="citation"><p>the relationship between a class and
+ its clients as a formal agreement, expressing each party's
+ rights and obligations</p></div>
+ <div class="citation"><a href="http://en.wikipedia.org/wiki/Bertrand_Meyer">Bertrand Meyer</a></div>
+
+<!-- TODO TODO TODO
+<a class="more" href="http://fogus.me/fun/trammel/cp.html">read more</a>
+-->
+ </div>
+#+end_html
+
+
+
+#+begin_html
+ <div class="item">
+#+end_html
View
31 docs/index.org
@@ -1,11 +1,10 @@
#+TITLE: core.contracts
#+AUTHOR: Fogus
-#+begin_html
- <div id="rinich">
- <div class="log">
- <div class="item">
-#+end_html
+#+STYLE: <link rel="stylesheet" type="text/css" href="styles/default.css" />
+
+#+INCLUDE: header.org org
+
#+begin_src clojure
(require '[clojure.core.contracts :as contracts])
@@ -32,24 +31,4 @@
-
-#+begin_html
- </div>
-
- <a class="button" href="http://github.com/clojure/core.contracts">source code &rarr;</a>
- <a class="button" href="http://github.com/clojure/core.contracts/issues">tickets &rarr;</a>
-
- <div class="footer">
- &copy; 2010-2013 Michael Fogus <br/>
- theme based on a design by <a href="http://rinich.tumblr.com">Rory Marinich</a>
- </div>
- </div>
-</div>
-#+end_html
-
-#+STYLE: <link rel="stylesheet" type="text/css" href="styles/default.css" />
-
-# Local Variables:
-# org-export-html-style-include-default: nil
-# org-export-html-style-include-scripts: nil
-# org-export-html-postamble: nil
+#+INCLUDE: footer.org org
Please sign in to comment.
Something went wrong with that request. Please try again.