mirror of
https://github.com/Neetpone/foalfetch.git
synced 2025-02-09 02:16:43 +01:00
15 lines
395 B
Text
15 lines
395 B
Text
|
.news
|
||
|
#wrap
|
||
|
= render partial: 'layouts/banner'
|
||
|
nav.home
|
||
|
= link_to 'Home', root_path
|
||
|
= link_to 'News', '/news', class: 'current'
|
||
|
= link_to 'About', '/about'
|
||
|
section.news-list
|
||
|
- @blogs.each do |blog|
|
||
|
article
|
||
|
header
|
||
|
h1= blog.title
|
||
|
section
|
||
|
== blog.body
|
||
|
footer Posted by Floorb on #{blog.created_at}.
|