mirror of
https://github.com/moparisthebest/www.moparscape.org
synced 2024-11-14 05:15:22 -05:00
17 lines
530 B
Plaintext
17 lines
530 B
Plaintext
---
|
|
layout: default
|
|
title: Blog
|
|
---
|
|
.blog
|
|
- site.posts.sort_by(&:date).reverse[0..9].each_with_index do |post,index|
|
|
.article
|
|
%h2= link_to(post.title, post.url, {:class=>"title"})
|
|
= preserve rp(post.content)
|
|
- if page.respond_to? :disqus_short_name
|
|
.footer
|
|
- if post.data["comments_off"]
|
|
%em.comments_off Comments disabled
|
|
- else
|
|
%a(href="#{post.url}/#disqus_thread")Comments
|
|
.footer
|
|
%a(href="/archives.html" title="archives") « Blog Archives |