Skip to content

Commit

Permalink
adding bolton theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Zheng committed Oct 3, 2016
1 parent 7954a7b commit c82df9a
Show file tree
Hide file tree
Showing 25 changed files with 1,911 additions and 106 deletions.
36 changes: 18 additions & 18 deletions project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,18 @@
:url "http://http://opensource.org/licenses/MIT"}
:aliases {"test" ["run" "-m" "hara.test" ":exit"]}
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/core.match "0.2.2"]
[org.clojure/core.match "0.2.2"]
[im.chit/hara.common.checks "2.4.5"]
[im.chit/hara.common.watch "2.4.5"]
[im.chit/hara.component "2.4.5"]
[im.chit/hara.concurrent.latch "2.4.5"]
[im.chit/hara.concurrent.pipe "2.4.5"]
[im.chit/hara.data "2.4.5"]
[im.chit/hara.data.diff "2.4.5"]
[im.chit/hara.data.nested "2.4.5"]
[im.chit/hara.event "2.4.5"]
[im.chit/hara.io.file "2.4.5"]
[im.chit/hara.io.watch "2.4.5"]
[im.chit/hara.namespace "2.4.5"]
[im.chit/hara.object "2.4.5"]
[im.chit/hara.reflect "2.4.5"]
[im.chit/hara.string "2.4.5"]
[im.chit/hara.test "2.4.5"]
[im.chit/hara.data "2.4.5"]
[im.chit/hara.data.diff "2.4.5"]
[im.chit/hara.data.nested "2.4.5"]
[im.chit/hara.event "2.4.5"]
[im.chit/hara.io.file "2.4.5"]
[im.chit/hara.io.project "2.4.5"]
[im.chit/hara.namespace "2.4.5"]
[im.chit/hara.reflect "2.4.5"]
[im.chit/hara.string "2.4.5"]
[im.chit/hara.test "2.4.5"]
[org.eclipse.aether/aether-api "1.1.0"]
[org.eclipse.aether/aether-spi "1.1.0"]
[org.eclipse.aether/aether-util "1.1.0"]
Expand All @@ -44,7 +39,8 @@
:icon "favicon"}

:files {"index"
{:input "test/documentation/home_lucidity.clj"
{:template "home.html"
:input "test/documentation/home_lucidity.clj"
:title "lucidity"
:subtitle "tools for code clarity"}
"lucid-core"
Expand Down Expand Up @@ -78,7 +74,11 @@
:tracking "UA-31320512-2"
:link {:auto-tag true
:auto-number true}}
:profiles {:dev {:plugins [[lein-repack "0.2.10"]]}}
:profiles {:dev {:dependencies [[compojure "1.4.0"]
[ring "1.4.0"]
[clj-http "2.1.0"]
[org.eclipse.jgit "4.0.1.201506240215-r"]]
:plugins [[lein-repack "0.2.10"]]}}
:repack [{:type :clojure
:levels 2
:path "src"
Expand Down
116 changes: 116 additions & 0 deletions resources/theme/bolton/article.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">

<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">

<!-- Enable responsiveness on mobile devices-->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<link rel="shortcut icon" href="favicon.ico">
<title><@=site>.<@=title> - <@=subtitle></title>
<script src="js/highlight.min.js"></script>
<script src="js/gumshoe.min.js"></script>
<script src="js/smooth-scroll.min.js"></script>

<!-- CSS -->
<link rel="stylesheet" href="css/poole.css">
<link rel="stylesheet" href="css/syntax.css">
<link rel="stylesheet" href="css/lanyon.css">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700|PT+Sans:400">

<style>
<@=css-api>
<@=css-bolton>
<@=css-highlight>
</style>
<!-- Icons -->
</head>


<body class="<@=theme-base>">
<span id="page-top"></span>

<!-- Target for toggling the sidebar `.sidebar-checkbox` is for regular
styles, `#sidebar-checkbox` for behavior. -->
<input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox">

<!-- Toggleable sidebar -->
<div class="sidebar" id="sidebar">
<nav class="sidebar-nav">
<a class="sidebar-nav-item header" href="index.html"><img src="<@=logo-white>"/></a>
<span>&nbsp;</span>
<@=top-level>
<span class="sidebar-nav-item">&nbsp;</span>
<span class="sidebar-nav-item">&nbsp;</span>
</nav>
</div>


<!-- Wrap is the content to shift when toggling the sidebar. We wrap the
content to avoid any CSS collisions with our real content. -->
<div class="wrap">
<div class="masthead">
<div class="container">
<h3 class="masthead-title">
<span><@=site>.<@=title></span>
<small><@=subtitle></small>
</h3>
</div>
</div>

<div class="container content">
<div class="page">
<div class="heading">
<div>
<h5>Author: <@=author>&nbsp;&nbsp;<a href="mailto:<@=email>">(<@=email>)</a></h5>
<h5>Date: <@=date></h5>
<h5>Repository: <a href="<@=url>"><@=url></a></h5>
<h5>Version: <@=version></h5></div></div>
<hr/>
<div class="outline">
<div class="toc">
<nav data-gumshoe-header>
<ul data-gumshoe>
<a data-scroll class="top" href="#page-top">TOP</a>
<@=outline>
</ul>
</nav>
</div>
</div>

<div class="toc">
<nav>
<ul>
<@=outline>
</ul>
</nav>
</div>
<@=article>
</div>
</div>
</div>

<label for="sidebar-checkbox" class="sidebar-toggle"></label>

</body>

<script>
if (<@=tracking-enabled>) {
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', '<@=tracking>', 'caudate.me');
ga('send', 'pageview');
}
</script>

<script type="text/javascript">
smoothScroll.init();
gumshoe.init({});

hljs.registerLanguage("clojure",function(e){var t={"builtin-name":"def defonce cond apply if-not if-let if not not= = < > <= >= == + / * - rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit defmacro defn defn- macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy defstruct first rest cons defprotocol cast coll deftype defrecord last butlast sigs reify second ffirst fnext nfirst nnext defmulti defmethod meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},r="a-zA-Z_\\-!.?+*=<>&#'",n="["+r+"]["+r+"0-9/;:]*",a="[-+]?\\d+(\\.\\d+)?",o={b:n,r:0},s={cN:"number",b:a,r:0},i=e.inherit(e.QSM,{i:null}),c=e.C(";","$",{r:0}),d={cN:"literal",b:/\b(true|false|nil)\b/},l={b:"[\\[\\{]",e:"[\\]\\}]"},m={cN:"comment",b:"\\^"+n},p=e.C("\\^\\{","\\}"),u={cN:"symbol",b:"[:]{1,2}"+n},f={b:"\\(",e:"\\)"},h={eW:!0,r:0},y={k:t,l:n,cN:"name",b:n,starts:h},b=[f,i,m,p,c,u,l,s,d,o];return f.c=[e.C("comment",""),y,h],h.c=b,l.c=b,{aliases:["clj"],i:/\S/,c:[f,i,m,p,c,u,l,s,d]}});
hljs.initHighlightingOnLoad();
</script>
</html>

0 comments on commit c82df9a

Please sign in to comment.