diff options
Diffstat (limited to 'layouts/projects/single.html')
-rw-r--r-- | layouts/projects/single.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/layouts/projects/single.html b/layouts/projects/single.html new file mode 100644 index 0000000..c10b21c --- /dev/null +++ b/layouts/projects/single.html @@ -0,0 +1,21 @@ +{{ define "main" }} +<div class="container mx-auto my-5"> + <div class="post"> + {{ partial "single/header.html" . }} + <div class="alert alert-info" role="alert"> + <div class="btn-group"> + <a class="btn btn-primary" href="{{.Params.project_url}}"> + {{ partial "icon.html" "link" }} {{.Params.project_url}} + </a> + {{ if .Params.git_url}} + <a class="btn btn-primary" href="{{.Params.git_url}}"> + {{ partial "icon.html" "git" }} {{.Params.git_url}} + </a> + {{ end }} + </div> + </div> + <div class="e-content">{{ .Content }}</div> + {{ partial "single/footer.html" . }} + </div> +</div> +{{ end }} |