Main Avalanche Network server application. Built with Ruby on Rails.

index.html.erb 871B

    <% title "Blog - " + @config.website_name %> <%= content_tag(:div, class: 'container top-container') do %> <%= content_tag(:div, class: 'row') do %> <%= content_tag(:div, class: 'span12') do %> <%= bootstrap_flash %> <% # Page Content %> <div class="page-header"> <h1>Blog</h1> </div> <ul class="thumbnails"> <% @blog_posts.each do |post| %> <li class="span3"> <div class="thumbnail" style="height: 300px;"> <% if post.image.file != nil %> <%= image_tag post.image.thumb.to_s %> <% else %> <img src="http://placehold.it/300x200" alt=""> <% end %> <h3><%= link_to post.title, post_path(post) %></h3> <p><%= post.description %></p> </div> </li> <% end %> </ul> <br> <% # End of Page Content %> <% end %> <% end %> <% end %>