This is probably pretty basic but it's my first time using MM's blogging functionality. I've got everything set up and initialised, got a few test posts showing up in an index list with title & link using directory_indexes. What I can't seem to crack is getting a thumbnail image to go alongside each post in the index. My project is structured like so:
| |- post1.html.erb
| `- post1
| `- cover.jpg
I'm using the folder naming approach suggested in the MM docs here.
Index is marked up like so:
<% page_articles.each_with_index do |article, i| %>
<img class="post-listing__cover" src="???">
<!-- /using an img tag as placeholder, but presumably the answer will come in the form of a helper? -->
<h2><%= link_to article.title, article %></h2>
<span><%= article.date.strftime('%b %e') %></span>
<%= article.summary(240) %>
<% end %>
A point in the right direction would be much appreciated.