This repository has been archived by the owner on Mar 22, 2019. It is now read-only.
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
1 parent
c7bab49
commit 358c03f
Showing
12 changed files
with
59 additions
and
18 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
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,18 @@ | ||
<ol id='toc-list'> | ||
<li class='level-1'> | ||
<a href="/blog/feed.xml"> | ||
Recent Posts | ||
<img src="/images/feed-icon-14x14.png"> | ||
</a> | ||
<a href="#">Recent Post</a> | ||
<ol style="display:block"> | ||
<% blog.articles.each_with_index do |article, i| %> | ||
<% blog.tags['Recent Posts'].sort_by(&:date).reverse.each_with_index do |article, i| %> | ||
<li class='level-3'><%= link_to article.title, article %></li> | ||
<% end %> | ||
</ol> | ||
</li> | ||
<li class='level-1'> | ||
<a href="#">This Week in Ember</a> | ||
<ol style="display:block"> | ||
<% blog.tags['This Week in Ember'].sort_by(&:date).reverse.each_with_index do |article, i| %> | ||
<li class='level-3'><%= link_to article.date.strftime('%B %d, %Y'), article %></li> | ||
<% end %> | ||
</ol> | ||
</li> | ||
</ol> |
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
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
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<%= partial :post_header, :locals => { :article => article } %> | ||
<%= article.body %> | ||
<% if show_comments %> | ||
<hr> | ||
|
||
<div id="disqus_thread"></div> | ||
<script type="text/javascript"> | ||
<% if ENV['RACK_ENV'] != 'production' %> | ||
var disqus_developer = 1; | ||
<% end %> | ||
|
||
/* * * CONFIGURATION VARIABLES * * */ | ||
var disqus_shortname = 'emberjsdotcom'; // required | ||
|
||
/* * * DON'T EDIT BELOW THIS LINE * * */ | ||
(function() { | ||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; | ||
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js'; | ||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); | ||
})(); | ||
</script> | ||
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> | ||
<a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a> | ||
<% end %> |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<h2> | ||
<a href="<%= article.url %>"><%= article.title %></a> | ||
<time><%= article.date.strftime('%b %e %Y') %></time> | ||
</h2> |
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