Add projects

This commit is contained in:
Dimitri Lozeve 2018-11-14 21:32:49 +01:00
parent 80947b72d9
commit 7d4a458e8c
31 changed files with 552 additions and 10 deletions

View file

@ -16,8 +16,9 @@
</div>
<nav>
<a href="/">Home</a>
<a href="/contact.html">Contact</a>
<a href="/projects.html">Projects</a>
<a href="/archive.html">Archive</a>
<a href="/contact.html">Contact</a>
</nav>
</header>

View file

@ -0,0 +1,6 @@
$for(projects)$
<hr>
<h2><a href="$external_link$">$title$</a></h2>
<p>$summary$</p>
<p><img src="/images/$image_preview$"/></p>
$endfor$

11
templates/project.html Normal file
View file

@ -0,0 +1,11 @@
<article>
<section class="header">
Posted on $date$
$if(author)$
by $author$
$endif$
</section>
<section>
$body$
</section>
</article>

1
templates/projects.html Normal file
View file

@ -0,0 +1 @@
$partial("templates/project-list.html")$