forked from hexojs/hexo-theme-light
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Josh Mervine
committed
Aug 16, 2013
1 parent
456f0dd
commit 0852804
Showing
42 changed files
with
287 additions
and
1,239 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,72 @@ | ||
keywords: site, wide, default, keywords | ||
|
||
# path to bootstrap css template if not specified, | ||
# uses full bootstrap-combined.min.css | ||
# | ||
# These free themes are provided by my firends at http://bootstrapcdn.com | ||
# | ||
#bootstrap_css: //netdna.bootstrapcdn.com/bootswatch/2.3.2/amelia/bootstrap.min.css | ||
#bootstrap_css: //netdna.bootstrapcdn.com/bootswatch/2.3.2/cerulean/bootstrap.min.css | ||
#bootstrap_css: //netdna.bootstrapcdn.com/bootswatch/2.3.2/cosmo/bootstrap.min.css | ||
#bootstrap_css: //netdna.bootstrapcdn.com/bootswatch/2.3.2/cyborg/bootstrap.min.css | ||
#bootstrap_css: //netdna.bootstrapcdn.com/bootswatch/2.3.2/flatly/bootstrap.min.css | ||
#bootstrap_css: //netdna.bootstrapcdn.com/bootswatch/2.3.2/journal/bootstrap.min.css | ||
#bootstrap_css: //netdna.bootstrapcdn.com/bootswatch/2.3.2/readable/bootstrap.min.css | ||
#bootstrap_css: //netdna.bootstrapcdn.com/bootswatch/2.3.2/simplex/bootstrap.min.css | ||
#bootstrap_css: //netdna.bootstrapcdn.com/bootswatch/2.3.2/slate/bootstrap.min.css | ||
#bootstrap_css: //netdna.bootstrapcdn.com/bootswatch/2.3.2/spacelab/bootstrap.min.css | ||
#bootstrap_css: //netdna.bootstrapcdn.com/bootswatch/2.3.2/spruce/bootstrap.min.css | ||
#bootstrap_css: //netdna.bootstrapcdn.com/bootswatch/2.3.2/superhero/bootstrap.min.css | ||
#bootstrap_css: //netdna.bootstrapcdn.com/bootswatch/2.3.2/united/bootstrap.min.css | ||
|
||
# inverse bootstrap navbar | ||
#bs_nav_inverse: true | ||
|
||
# This section turns on javascript components, | ||
# they're off by default to make things faster. | ||
bootstrap_js: true | ||
imagesloaded_js: true # gives images a loading icon | ||
fancybox: true | ||
|
||
sticky_footer: true | ||
|
||
# don't use this without sticky_footer | ||
#footer_color: 'black' | ||
|
||
menu: | ||
Home: / | ||
Archives: /archives | ||
Projects: /projects | ||
About: /about | ||
|
||
widgets: | ||
widgets: | ||
- search | ||
- category | ||
- tag | ||
|
||
excerpt_link: Read More | ||
excerpt_link: read more | ||
|
||
# not currently working | ||
#twitter: | ||
#username: mervinej | ||
#show_replies: true | ||
#tweet_count: 5 | ||
|
||
twitter: | ||
username: | ||
show_replies: false | ||
tweet_count: 5 | ||
# or | ||
twitter_id: mervinej | ||
|
||
facebook_id: mervinej | ||
linkedin_id: mervinej | ||
github_id: jmervine | ||
|
||
addthis: | ||
enable: true | ||
pubid: | ||
facebook: true | ||
pubid: ra-520c00d223718563 | ||
twitter: true | ||
google: true | ||
pinterest: true | ||
|
||
fancybox: true | ||
facebook: true | ||
|
||
google_analytics: | ||
rss: | ||
rss: | ||
|
||
disqus_shortname: rubyops | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,35 @@ | ||
<article class="<%= item.layout %>"> | ||
<% if (item.photos){ %> | ||
<%- partial('post/gallery') %> | ||
<% if (item.photos){ %> | ||
<%- partial('post/gallery') %> | ||
<% } %> | ||
<% if (item.layout != 'page'){ %> | ||
<div class="page-header"> | ||
<div class="icon"></div> | ||
<time datetime="<%= item.date.toDate().toISOString() %>"><a href="<%- config.root %><%- item.path %>"><%= item.date.format(config.date_format) %></a></time> | ||
<%- partial('post/title') %> | ||
</div> | ||
<% } %> | ||
<p> | ||
<% if (item.excerpt && index){ %> | ||
<%- item.excerpt %> | ||
<% } else { %> | ||
<%- item.content %> | ||
<% } %> | ||
</p> | ||
<% if (index){ %> | ||
<div class="row-fluid"> | ||
<% if (item.excerpt){ %> | ||
<div class="span3"> | ||
<a href="<%- config.root %><%- item.path %>#more" class="more-link"><%= theme.excerpt_link %></a> | ||
</div> | ||
<% } %> | ||
<div class="post-content"> | ||
<header> | ||
<% if (item.layout != 'page'){ %> | ||
<div class="icon"></div> | ||
<time datetime="<%= item.date.toDate().toISOString() %>"><a href="<%- config.root %><%- item.path %>"><%= item.date.format(config.date_format) %></a></time> | ||
<% } %> | ||
<%- partial('post/title') %> | ||
</header> | ||
<div class="entry"> | ||
<% if (item.excerpt && index){ %> | ||
<%- item.excerpt %> | ||
<% } else { %> | ||
<%- item.content %> | ||
<% } %> | ||
<% if (item.comment && config.disqus_shortname){ %> | ||
<div class="span3"> | ||
<a href="<%- item.permalink %>#disqus_thread" class="comment-link">Comments</a> | ||
</div> | ||
<footer> | ||
<% if (index){ %> | ||
<% if (item.excerpt){ %> | ||
<div class="alignleft"> | ||
<a href="<%- config.root %><%- item.path %>#more" class="more-link"><%= theme.excerpt_link %></a> | ||
</div> | ||
<% } %> | ||
<% if (item.comment && config.disqus_shortname){ %> | ||
<div class="alignright"> | ||
<a href="<%- item.permalink %>#disqus_thread" class="comment-link">Comments</a> | ||
</div> | ||
<% } %> | ||
<% } else { %> | ||
<%- partial('post/category') %> | ||
<%- partial('post/tag') %> | ||
<%- partial('post/share') %> | ||
<% } %> | ||
<div class="clearfix"></div> | ||
</footer> | ||
<% } %> | ||
</div> | ||
</article> | ||
|
||
<%- partial('comment') %> | ||
<% } else { %> | ||
<%- partial('post/category') %> | ||
<%- partial('post/tag') %> | ||
<% } %> | ||
<%- partial('comment') %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<% if (config.disqus_shortname && page.comments){ %> | ||
<section id="comment"> | ||
<h1 class="title"><%= __('comment') %></h1> | ||
<div class="row-fluid"> | ||
<h2><%= __('comment') %></h1> | ||
<div id="disqus_thread"> | ||
<noscript>Please enable JavaScript to view the <a href="//disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> | ||
</div> | ||
</section> | ||
<% } %> | ||
</div> | ||
<% } %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
<div class="alignleft"> | ||
<% if (config.author){ %> | ||
© <%= new Date().getFullYear() %> <%= config.author %> | ||
<% } else { %> | ||
© <%= new Date().getFullYear() %> <%= config.title %> | ||
<% } %> | ||
<div id="footer"> | ||
<div class="container"> | ||
<p class="muted credit"> | ||
<% if (config.author){ %> | ||
© <%= new Date().getFullYear() %> <%= config.author %> | ||
<% } else { %> | ||
© <%= new Date().getFullYear() %> <%= config.title %> | ||
<% } %> | ||
</p> | ||
</div> | ||
</div> | ||
<div class="clearfix"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,35 @@ | ||
<div class="alignleft"> | ||
<h1><a href="<%- config.root %>"><%= config.title %></a></h1> | ||
<h2><a href="<%- config.root %>"><% if (config.subtitle){ %><%= config.subtitle %><% } %></a></h2> | ||
<div class="navbar <% if (theme.bs_nav_inverse) { %>navbar-inverse <%}%>navbar-fixed-top"> | ||
<div class="navbar-inner"> | ||
<div class="container"> | ||
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
</button> | ||
<a class="brand" href="<%- config.root %>"><%- config.title %></a> | ||
<div class="nav-collapse collapse navbar-responsive-collapse"> | ||
<ul class="nav"> | ||
<% for (var i in theme.menu){ %> | ||
<li><a href="<%- theme.menu[i] %>"><%- i %></a></li> | ||
<% } %> | ||
</ul> | ||
<ul class="nav pull-right"> | ||
<% if (theme.twitter && theme.twitter.username) { %> | ||
<li><a href="https://twitter.com/<%- theme.twitter.username %>">twitter</a></li> | ||
<% } else if (theme.twitter_id) { %> | ||
<li><a href="https://twitter.com/<%- theme.twitter_id %>">twitter</a></li> | ||
<% } %> | ||
<% if (theme.facebook_id) { %> | ||
<li><a href="https://www.facebook.com/<%- theme.facebook_id %>">facebook</a></li> | ||
<% } %> | ||
<% if (theme.linked_id) { %> | ||
<li><a href="http://www.linkedin.com/in/<%- theme.linkedin_id %>">linkedin</a></li> | ||
<% } %> | ||
<% if (theme.github_id) { %> | ||
<li><a href="https://github.com/jmervine<%- theme.twitter_id %>">github</a></li> | ||
<% } %> | ||
</ul> | ||
</div><!--/.nav-collapse --> | ||
</div> | ||
</div> | ||
</div> | ||
<nav id="main-nav" class="alignright"> | ||
<ul> | ||
<% for (var i in theme.menu){ %> | ||
<li><a href="<%- theme.menu[i] %>"><%= i %></a></li> | ||
<% } %> | ||
</ul> | ||
<div class="clearfix"></div> | ||
</nav> | ||
<div class="clearfix"></div> |
Oops, something went wrong.