From 57eb8f6712361a3bf75983ce153fac4846dc0273 Mon Sep 17 00:00:00 2001 From: Vikas Kushwaha Date: Tue, 11 Feb 2025 16:31:08 +0530 Subject: Initial commit --- .../articles/partials/detail-post-meta.tmpl | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 cmd/web/templates/articles/partials/detail-post-meta.tmpl (limited to 'cmd/web/templates/articles/partials/detail-post-meta.tmpl') diff --git a/cmd/web/templates/articles/partials/detail-post-meta.tmpl b/cmd/web/templates/articles/partials/detail-post-meta.tmpl new file mode 100644 index 0000000..a871b44 --- /dev/null +++ b/cmd/web/templates/articles/partials/detail-post-meta.tmpl @@ -0,0 +1,42 @@ +
+ +
+ + {{ .Article.User.Name }} + + {{ .Article.GetFormattedCreatedAt }} +
+ + {{ if .IsSelf }} + + + + + + {{ else }} + + {{ template "articles/partials/follow-button" . }} + + {{ template "articles/partials/favorite-button" . }} + + {{ end }} +
\ No newline at end of file -- cgit v1.2.3