From d7d066cfa1cd16dd502000077696388043c4dab9 Mon Sep 17 00:00:00 2001 From: Vikas Kushwaha Date: Tue, 11 Feb 2025 17:45:19 +0530 Subject: Substituted 'Article' with 'Project' --- cmd/web/templates/users/partials/article-favorite-button.tmpl | 6 +++--- cmd/web/templates/users/partials/post-preview.tmpl | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'cmd/web/templates/users/partials') diff --git a/cmd/web/templates/users/partials/article-favorite-button.tmpl b/cmd/web/templates/users/partials/article-favorite-button.tmpl index c63182a..ffa4613 100644 --- a/cmd/web/templates/users/partials/article-favorite-button.tmpl +++ b/cmd/web/templates/users/partials/article-favorite-button.tmpl @@ -1,5 +1,5 @@ - \ No newline at end of file diff --git a/cmd/web/templates/users/partials/post-preview.tmpl b/cmd/web/templates/users/partials/post-preview.tmpl index 4e00357..a015860 100644 --- a/cmd/web/templates/users/partials/post-preview.tmpl +++ b/cmd/web/templates/users/partials/post-preview.tmpl @@ -1,7 +1,7 @@
- {{ if .HasArticles }} + {{ if .HasProjects }} {{ $isSelf := .IsSelf }} - {{ range $article := .Articles }} + {{ range $article := .Projects }}
- {{ template "users/partials/article-favorite-button" Dict "Article" $article "IsSelf" $isSelf }} + {{ template "users/partials/article-favorite-button" Dict "Project" $article "IsSelf" $isSelf }}