Sha256: 7cdb3e85a8f2029f7f56af0e9c27cf93e4a8ec74cc307602bfe315db7a119152

Contents?: true

Size: 253 Bytes

Versions: 4

Compression:

Stored size: 253 Bytes

Contents

<p>Welcome to <%= config.site.title %></p>
<h4>News</h4>
<ul>
<%
  # We can query Gumdrop for the contents of the source_tree:
  site.contents.find('news/**/*').each do |page|
%>
  <li><a href="<%= page.uri %>"><%= page.title %></a></li>
<% end %>
</ul>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gumdrop-1.1.3 templates/default/source/index.html.erb
gumdrop-1.1.2 templates/default/source/index.html.erb
gumdrop-1.1.1 templates/default/source/index.html.erb
gumdrop-1.1.0 templates/default/source/index.html.erb