{{$canWriteProject := and .CanWriteProjects (or (not .Repository) (not .Repository.IsArchived))}}

{{.Project.Title}}

{{if $canWriteProject}} {{end}}
{{$.Project.RenderedContent}}
{{range .Columns}}
{{range (index $.IssuesMap .ID)}}
{{template "repo/issue/card" (dict "Issue" . "Page" $)}}
{{end}}
{{end}}
{{if $canWriteProject}} {{end}}