|
|
|
@ -24,6 +24,19 @@
|
|
|
|
|
<% elsif File.exist?("." + request.path_info + ".md") %>
|
|
|
|
|
<%= markdown(File.read("." + request.path_info + ".md")) %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<% if File.exist?("." + request.path_info + ".meta") %>
|
|
|
|
|
<div class="articledate">
|
|
|
|
|
<%= File.read("." + request.path_info + ".meta") %>
|
|
|
|
|
</div>
|
|
|
|
|
<% elsif File.exist?("." + request.path_info + ".erb.meta") %>
|
|
|
|
|
<div class="articledate">
|
|
|
|
|
<%= File.read("." + request.path_info + ".erb.meta") %>
|
|
|
|
|
</div>
|
|
|
|
|
<% elsif File.exist?("." + request.path_info + ".md.meta") %>
|
|
|
|
|
<div class="articledate">
|
|
|
|
|
<%= File.read("." + request.path_info + ".md.meta") %>
|
|
|
|
|
</div>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<%= erb :bottom %>
|
|
|
|
|