Add link to /_new in footer

This commit is contained in:
Magnus Hoff 2017-10-02 17:17:40 +02:00
parent 02dd55df39
commit 413675e152
2 changed files with 23 additions and 1 deletions

View file

@ -137,6 +137,25 @@ footer {
"Droid Sans", "Helvetica Neue", sans-serif; "Droid Sans", "Helvetica Neue", sans-serif;
} }
footer ul {
list-style: none;
padding: 0;
}
footer li {
display: inline;
}
footer li::after {
content: "\00B7";
margin: 0 12px;
}
footer li:last-child::after {
content: "";
margin: 0;
}
footer dt, footer dd { footer dt, footer dd {
display: inline; display: inline;
margin: 0; margin: 0;

View file

@ -30,7 +30,10 @@
</div> </div>
<footer> <footer>
<p><a id="openEditor" href="?editor">Edit</a></p> <ul>
<li><a href="_new">Create article</a></li>
<li><a id="openEditor" href="?editor">Edit</a></li>
</ul>
<dl> <dl>
<dt>Article ID</dt> <dt>Article ID</dt>
<dd class="article-id">{{article_id}}</dd> <dd class="article-id">{{article_id}}</dd>