Add projects
This commit is contained in:
parent
80947b72d9
commit
7d4a458e8c
31 changed files with 552 additions and 10 deletions
|
@ -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>
|
||||
|
||||
|
|
6
templates/project-list.html
Normal file
6
templates/project-list.html
Normal 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
11
templates/project.html
Normal 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
1
templates/projects.html
Normal file
|
@ -0,0 +1 @@
|
|||
$partial("templates/project-list.html")$
|
Loading…
Add table
Add a link
Reference in a new issue