mirror of
https://github.com/Kugelschieber/marvinblum.git
synced 2026-01-18 06:40:27 +00:00
Added blog page, article page and added latest articles to start page.
This commit is contained in:
@@ -19,9 +19,13 @@
|
||||
</section>
|
||||
<section>
|
||||
<h2>latest blog posts</h2>
|
||||
<p>
|
||||
TODO
|
||||
</p>
|
||||
{{range $article := .Articles}}
|
||||
<p>
|
||||
<a href="/blog/{{slug $article.LatestArticleContent.Title}}-{{$article.Id}}">{{$article.LatestArticleContent.Title}}</a>
|
||||
</p>
|
||||
{{else}}
|
||||
<p>There are no blog posts yet...</p>
|
||||
{{end}}
|
||||
<p>
|
||||
<a href="/blog">View all</a>
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user