diff --git a/src/templates/src/include/post_list_item.html b/src/templates/src/include/post_list_item.html deleted file mode 100644 index e43ef2bf..00000000 --- a/src/templates/src/include/post_list_item.html +++ /dev/null @@ -1,24 +0,0 @@ -{{/* -This template is intended to display a single post in the context of a forum, the feed, or a similar layout. - -It should be called with PostListItem. -*/}} - -
- -
- - -
- {{ .User.Name }} — {{ timehtml (relativedate .Date) .Date }} -
-
-
- » -
-
diff --git a/src/templates/src/landing.html b/src/templates/src/landing.html index 861efd93..65bf8f27 100644 --- a/src/templates/src/landing.html +++ b/src/templates/src/landing.html @@ -88,7 +88,7 @@ {{ end }} {{ range $post := $posts }} - {{ template "post_list_item.html" $post }} + {{ template "post_list_item" $post }} {{ end }}