You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
391 B
Plaintext

<div class="section section<%= rand(1..3) %>">
<% if file.end_with?(".md") %>
<%= markdown(File.read(file)) %>
<% elsif file.end_with?(".erb") %>
<%= ERB.new(File.read(file)).result(binding) %>
<% end %>
<span class="seemore">
<span class="seemore">
<b>
<span class="seedate"><%= date %></span>
</b>
<a class="seemorelink" href="/<%= file %>">Article Page</a>
</span>
</div>