Skip to content

Commit

Permalink
move theme_explorer code to its own file
Browse files Browse the repository at this point in the history
  • Loading branch information
plusjade committed Feb 2, 2012
1 parent 228e756 commit 4c589fa
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 39 deletions.
40 changes: 1 addition & 39 deletions _includes/custom/analytics
@@ -1,39 +1 @@
<!--[if lte IE 6]>
<style type="text/css">
body {height:100%; overflow-y:auto;}
html {overflow-x:auto; overflow-y:hidden;}
* html .footer {position:absolute;}
</style>
<![endif]-->
<script id="te_current_theme_data" type="text/x-jquery-tmpl">
<ul>
<li><strong>name:</strong> [[name]]</li>
<li>"[[description]]"</li>
<li><strong>author:</strong>
<ul>
<li>[[author.name]]</li>
<li><a href="#" target="_blank">[[author.website]]</a></li>
</ul>
</li>
</ul>
</script>
<script id="te_themes_tmpl" type="text/x-jquery-tmpl">
[[#themes]]
<li><a href="[[#buildUrl]][[name]][[/buildUrl]]" class="[[name]]" title="[[description]]">[[name]]</a></li>
[[/themes]]
</script>

<div id="theme_explorer">
<ul id="te_themes"> </ul>
<ul class="te_tab te_header">
<li><a href="/">Theme Explorer</a></li>
<li><a href="#" class="te_hide" id="theme_explorer_hide">HIDE</a></li>
</ul>
<div id="te_current" class="current_theme"></div>
<a href="http://jekyllbootstrap.com/themes/install.html" id="te_install" class="btn primary">Install Theme</a>
</div>

<link rel="stylesheet" href="/assets/theme-explorer/style.css?body=1" type="text/css" media="screen" charset="utf-8">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" charset="utf-8"></script>
<script type="text/javascript" src="/assets/theme-explorer/mustache.js" charset="utf-8"></script>
<script type="text/javascript" src="/assets/theme-explorer/init.js?v=0.0.1" charset="utf-8"></script>
{% include custom/theme_explorer %}
39 changes: 39 additions & 0 deletions _includes/custom/theme_explorer
@@ -0,0 +1,39 @@
<!--[if lte IE 6]>
<style type="text/css">
body {height:100%; overflow-y:auto;}
html {overflow-x:auto; overflow-y:hidden;}
* html .footer {position:absolute;}
</style>
<![endif]-->
<script id="te_current_theme_data" type="text/x-jquery-tmpl">
<ul>
<li><strong>name:</strong> [[name]]</li>
<li>"[[description]]"</li>
<li><strong>author:</strong>
<ul>
<li>[[author.name]]</li>
<li><a href="[[author.website]]" target="_blank">[[author.website]]</a></li>
</ul>
</li>
</ul>
</script>
<script id="te_themes_tmpl" type="text/x-jquery-tmpl">
[[#themes]]
<li><a href="[[#buildUrl]][[name]][[/buildUrl]]" class="[[name]]" title="[[description]]">[[name]]</a></li>
[[/themes]]
</script>

<div id="theme_explorer">
<ul id="te_themes"> </ul>
<ul class="te_tab te_header">
<li><a href="/">Theme Explorer</a></li>
<li><a href="#" class="te_hide" id="theme_explorer_hide">HIDE</a></li>
</ul>
<div id="te_current" class="current_theme"></div>
<a href="http://jekyllbootstrap.com/themes/install.html" id="te_install" class="btn primary">Install Theme</a>
</div>

<link rel="stylesheet" href="/assets/theme-explorer/style.css?body=1" type="text/css" media="screen" charset="utf-8">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" charset="utf-8"></script>
<script type="text/javascript" src="/assets/theme-explorer/mustache.js" charset="utf-8"></script>
<script type="text/javascript" src="/assets/theme-explorer/init.js?v=0.0.2" charset="utf-8"></script>

0 comments on commit 4c589fa

Please sign in to comment.