From c720f1f85e5ec7c93604462b7a70e1f84a1ce244 Mon Sep 17 00:00:00 2001 From: Vikas Kushwaha Date: Tue, 11 Feb 2025 17:49:16 +0530 Subject: Substituted 'article' with 'project' --- cmd/web/templates/users/partials/post-preview.tmpl | 36 +++++++++++----------- 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'cmd/web/templates/users/partials/post-preview.tmpl') diff --git a/cmd/web/templates/users/partials/post-preview.tmpl b/cmd/web/templates/users/partials/post-preview.tmpl index a015860..00542a9 100644 --- a/cmd/web/templates/users/partials/post-preview.tmpl +++ b/cmd/web/templates/users/partials/post-preview.tmpl @@ -1,47 +1,47 @@
{{ if .HasProjects }} {{ $isSelf := .IsSelf }} - {{ range $article := .Projects }} + {{ range $project := .Projects }}
- -

{{ $article.Title }}

-

{{ $article.Description }}

+

{{ $project.Title }}

+

{{ $project.Description }}

Read more...
    - {{ range $tag := $article.Tags }} + {{ range $tag := $project.Tags }}
  • {{ $tag.Name }}
  • {{ end }}
@@ -54,7 +54,7 @@ {{ if not .HasProjects }}
{{ end }} -- cgit v1.2.3