Adding capacity to summarize microposts as well.

This commit is contained in:
Ghyslain Leclerc 2018-10-27 16:29:28 -04:00
parent 0c39cde248
commit a998fdc6e8
3 changed files with 77 additions and 40 deletions

View file

@ -2,7 +2,10 @@
{{ partial "page_header.html" . }}
<main class="content">
{{ partial "preview_micropost.html" . }}
<article class="micropost">
{{ .Content }}
<a href='{{ .Permalink }}'><aside class="dates">→ {{ .Date.Format "2006/01/02 3:04 PM" }}</aside></a>
</article>
</main>
{{ partial "page_footer.html" . }}