diff options
Diffstat (limited to 'cmd/web/templates/projects/show.tmpl')
-rw-r--r-- | cmd/web/templates/projects/show.tmpl | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/cmd/web/templates/projects/show.tmpl b/cmd/web/templates/projects/show.tmpl new file mode 100644 index 0000000..2078016 --- /dev/null +++ b/cmd/web/templates/projects/show.tmpl @@ -0,0 +1,38 @@ +<div class="post-page"> + + <div class="banner"> + <div class="container"> + <h1 id="project-detail__title"> + {{ .Project.Title }} + </h1> + + {{ template "projects/partials/detail-post-meta" . }} + </div> + </div> + + <div class="project-detail container page"> + <div class="row post-content"> + <div class="col-md-12"> + {{ .Project.Body }} + </div> + <div class="col-md-12 m-t-2"> + <ul class="tag-list"> + {{ range $tag := .Project.Tags }} + <li class="tag-default tag-pill tag-outline">{{ $tag.Name }}</li> + {{ end }} + </ul> + </div> + </div> + + <hr /> + + <div class="post-actions"> + {{ template "projects/partials/detail-post-meta" . }} + </div> + + <div class="row"> + <div class="col-md-8 col-md-offset-2" hx-get="/htmx/projects/{{ .Project.Slug }}/comments" hx-trigger="load"></div> + </div> + + </div> +</div>
\ No newline at end of file |