Moar CSS and HTML stuff
This commit is contained in:
parent
c7e5528a27
commit
3f5b6862a3
|
@ -19,8 +19,8 @@ should be YAML or XML or something better suited.
|
|||
|
||||
Run it in development mode:
|
||||
|
||||
morbo -w assets/css/ -w lib/ -w migrations/ -w t/ -w templates/ \
|
||||
script/post_text
|
||||
morbo -w assets/css/ -w public/ -w lib/ -w templates/ \
|
||||
-w script/ script/post_text
|
||||
|
||||
Now try requesting http://localhost:3000
|
||||
|
||||
|
|
|
@ -80,7 +80,7 @@ header > nav a {
|
|||
padding: 0.25em 0.5em;
|
||||
}
|
||||
|
||||
.remark .date, .remark .author, .remark .body {
|
||||
.remark .author, .remark .body {
|
||||
margin: 1em 0.5em;
|
||||
padding: 0.25em 0.5em;
|
||||
}
|
||||
|
|
|
@ -3,7 +3,10 @@
|
|||
<h2><%= title %></h2>
|
||||
<main class="threads">
|
||||
<article class="thread">
|
||||
<h3 class="title"><%= $thread->{'title'} %></h3>
|
||||
<h3 class="title">
|
||||
<%= $thread->{'title'} %>
|
||||
<span class="id">#<%= $thread->{'id'} %></span>
|
||||
</h3>
|
||||
<h4 class="date"><%= $thread->{'date'} %></h4>
|
||||
<h5 class="author"><%= $thread->{'author'} %></h5>
|
||||
<div class="body">
|
||||
|
@ -47,10 +50,10 @@
|
|||
</nav>
|
||||
</article>
|
||||
<% } =%>
|
||||
<% if ($last_page && $last_page != 1) { =%>
|
||||
<nav>
|
||||
<% if ($last_page && $last_page != 1) { =%>
|
||||
<%= pagination $this_page, $last_page, ($base_path . '/{page}') %>
|
||||
<% } =%>
|
||||
</nav>
|
||||
<% } =%>
|
||||
</section>
|
||||
<% } =%>
|
||||
|
|
Loading…
Reference in a new issue