Skip to content

Commit

Permalink
Added header and footer
Browse files Browse the repository at this point in the history
  • Loading branch information
fogus committed Jan 22, 2013
1 parent c187263 commit 1d62df9
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 26 deletions.
18 changes: 18 additions & 0 deletions docs/footer.org
Original file line number Diff line number Diff line change
@@ -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
22 changes: 22 additions & 0 deletions docs/header.org
Original file line number Diff line number Diff line change
@@ -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
31 changes: 5 additions & 26 deletions docs/index.org
Original file line number Diff line number Diff line change
@@ -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])
Expand All @@ -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

0 comments on commit 1d62df9

Please sign in to comment.