Promote featured asciicasts a bit more

openid
Marcin Kulik 11 years ago
parent 94817be1b3
commit 86182e6a38

@ -63,8 +63,12 @@
h1 Featured asciicasts
.asciicast-list
= render 'asciicasts/previews', asciicasts: page.featured_asciicasts, per_row: 3
p
a href=category_path(:featured) Browse featured asciicasts
.row
.col-md-12
h1 Latest asciicasts
.asciicast-list
= render 'asciicasts/previews', asciicasts: page.latest_asciicasts, per_row: 3
p
a href=browse_path Browse all asciicasts

@ -11,7 +11,7 @@ header.navbar.navbar-default[role="navigation"]
.collapse.navbar-collapse.navbar-ex1-collapse
ul.nav.navbar-nav
li
= link_to "Browse", browse_path
= link_to "Browse", category_path(:featured)
li
= link_to "Docs", docs_index_path
li

@ -1,5 +1,5 @@
h2 Browse
= category_links current_category do |categories|
= categories.link_to 'All', browse_path, :all
= categories.link_to 'Featured', category_path(:featured), :featured
= categories.link_to 'All', browse_path, :all

Loading…
Cancel
Save