mirror of
https://github.com/Kugelschieber/marvinblum.git
synced 2026-01-18 06:40:27 +00:00
Download blog file attachments when caching articles.
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
{{range $article := .Articles}}
|
||||
<p>
|
||||
<a href="/blog/{{slug $article.LatestArticleContent.Title}}-{{$article.Id}}">{{$article.LatestArticleContent.Title}}</a>
|
||||
<small>{{format $article.Published "2. January 2006"}}</small>
|
||||
</p>
|
||||
{{else}}
|
||||
<p>There are no blog posts yet...</p>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
<section>
|
||||
<h1>{{.Title}}</h1>
|
||||
<small>Published on {{.Published}}</small>
|
||||
<small>Published on {{format .Published "2. January 2006"}}</small>
|
||||
{{.Content}}
|
||||
</section>
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
{{range $article := $articles}}
|
||||
<p>
|
||||
<a href="/blog/{{slug $article.LatestArticleContent.Title}}-{{$article.Id}}">{{$article.LatestArticleContent.Title}}</a>
|
||||
<small>{{format $article.Published "2. January 2006"}}</small>
|
||||
</p>
|
||||
{{end}}
|
||||
{{else}}
|
||||
|
||||
Reference in New Issue
Block a user