Begin adding rudimentary support for posting new entries to the site - needs to be prettier and a lot smarter, but it exists now

This commit is contained in:
Danielle McLean 2017-10-08 16:51:48 +11:00
parent b027125c2e
commit 4b7a8a7198
Signed by: 00dani
GPG key ID: 5A5D2D1AFF12EEC5
12 changed files with 91 additions and 0 deletions

View file

@ -0,0 +1,12 @@
<article .h-entry>
<h1.p-name>#{entryName entry}
<p>
Published
$maybe author <- maybeAuthor
\ by
<a .p-author.h-card href=@{HomeR}>
#{userFullName author}
on
<time .dt-published datetime=#{show $ entryPublished entry}>
<div .e-content>
#{entryContent entry}

View file

@ -0,0 +1,3 @@
<ol .h-feed>
$forall entry <- entries
<li>^{hEntry entry}