mirror of
https://github.com/WatchOutNewsAgency/wona.github.com.git
synced 2026-01-01 01:16:26 +00:00
improved starting point
This commit is contained in:
8
source/index.haml
Normal file
8
source/index.haml
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
layout: basic/default
|
||||
title: Blog
|
||||
---
|
||||
.blog
|
||||
- site.posts.sort_by(&:date).reverse[0..9].each_with_index do |post,index|
|
||||
%h2= link_to(post.title, post.url, {:class=>"title"})
|
||||
.article= post.content
|
||||
Reference in New Issue
Block a user