Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
93 lines (89 sloc) 2.79 KB
#main.clearfix
:if article.version
%a.sha-version{ href: "/#{article.version}/#{article.name}" } Static Version
%h1
%a{href: "/" + article.name}&= article.title
%h5
By #{article.author.name} on #{formatDate(article.date, "%Y.%m.%d")}
= markdownEncode(article.markdown)
%hr{style:"clear:both"}
#disqus_thread.body
:script
var disqus_url = "http://blog.acmarques.com/#{article.name}";
%script(src="http://disqus.com/forums/acmarques-random-thoughts/embed.js" type="text/javascript")
%a(href="http://disqus.com/forums/acmarques-random-thoughts/?url=ref")
View the discussion thread.
%br
%a.dsq-brlink(href="http://disqus.com")
blog comments powered by
%span.logo-disqus
 Disqus
:script
(function() {
var links = document.getElementsByTagName('a');
var query = '?';
for(var i = 0; i < links.length; i++) {
if(links[i].href.indexOf('#disqus_thread') >= 0) {
query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&amp;';
}
}
document.write('<script charset="utf-8" type="text/javascript" src="http://disqus.com/forums/acmarques-random-thoughts/get_num_replies.js' + query + '"></' + 'script>');
})();
#sidebar
:if article.categories != undefined
.bubble
%h3
Categories
%ul
:each category in article.categories
%li
%a{href: "/category/" + category }&= unescape(category)
.bubble{style: "background: #E8E8E8 !important"}
:script
new TWTR.Widget({
version: 2,
type: 'profile',
rpp: 4,
interval: 6000,
width: 300,
height: 300,
theme: {
shell: {
background: '#e8e8e8',
color: '#3e3e3e'
},
tweets: {
background: '#ffffff',
color: '#000000',
links: '#21749b'
}
},
features: {
scrollbar: false,
loop: false,
live: false,
hashtags: true,
timestamp: true,
avatars: false,
behavior: 'all'
}
}).render().setUser('acmarques').start();
.bubble
%h3
Blogs
%ul
%li
%a{href: "http://www.locawebers.com.br/" }Locawebers
%li
%a{href: "http://howtonode.org" }How to Node
%li
%a{href: "http://giovanigenerali.com/" }Giovani Generali
%li
%a{href: "http://zenmachine.wordpress.com/" }the zen machine
:script
var disqus_shortname = 'acmarques-random-thoughts';
(function () {
var s = document.createElement('script'); s.async = true;
s.src = 'http://disqus.com/forums/acmarques-random-thoughts/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());