From e44397dcbb9454f89b8263738d5ccf1e20a12074 Mon Sep 17 00:00:00 2001 From: Vikas Kushwaha Date: Tue, 11 Feb 2025 17:50:21 +0530 Subject: Substituted 'article' with 'project' in filenames --- .../projects/partials/detail-post-meta.tmpl | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 cmd/web/templates/projects/partials/detail-post-meta.tmpl (limited to 'cmd/web/templates/projects/partials/detail-post-meta.tmpl') diff --git a/cmd/web/templates/projects/partials/detail-post-meta.tmpl b/cmd/web/templates/projects/partials/detail-post-meta.tmpl new file mode 100644 index 0000000..eb957b4 --- /dev/null +++ b/cmd/web/templates/projects/partials/detail-post-meta.tmpl @@ -0,0 +1,42 @@ +
+ +
+ + {{ .Project.User.Name }} + + {{ .Project.GetFormattedCreatedAt }} +
+ + {{ if .IsSelf }} + + + + + + {{ else }} + + {{ template "projects/partials/follow-button" . }} + + {{ template "projects/partials/favorite-button" . }} + + {{ end }} +
\ No newline at end of file -- cgit v1.2.3