Add in throwerror
parent
483c8c32e9
commit
cb7c531373
@ -1,9 +0,0 @@
|
||||
<div class="section section<%= rand(1..3) %>">
|
||||
<%= ERB.new(File.read(file)).result(binding) %>
|
||||
<span class="seemore">
|
||||
<b>
|
||||
<span class="seedate"><%= date %></span>
|
||||
</b>
|
||||
<a class="seemorelink" href="/<%= file %>">Article Page</a>
|
||||
</span>
|
||||
</div>
|
@ -1,5 +1,9 @@
|
||||
<div class="section section<%= rand(1..3) %>">
|
||||
<%= markdown(File.read(file)) %>
|
||||
<% 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>
|
@ -0,0 +1,8 @@
|
||||
<div class="article center largefont">
|
||||
<a href="/<%= returntarget %>">
|
||||
<%= errorcode %> - <%= error %>. Press left mouse button to continue.
|
||||
<br>
|
||||
<br>
|
||||
Guru Meditation: <%= errordescriptor %>
|
||||
</a>
|
||||
</div>
|
Loading…
Reference in New Issue