From e8ecc7774a0b29a0dcc91f2b4a0e37cad87a5bb1 Mon Sep 17 00:00:00 2001 From: Ngô Ngọc Đức Huy Date: Mon, 23 Aug 2021 22:29:39 +0700 Subject: Add layout for projects --- layouts/_default/project.html | 52 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 layouts/_default/project.html (limited to 'layouts') diff --git a/layouts/_default/project.html b/layouts/_default/project.html new file mode 100644 index 0000000..34a04ea --- /dev/null +++ b/layouts/_default/project.html @@ -0,0 +1,52 @@ +{{ define "main" }} +{{ if .Menus }} + +{{ end }} + +
+
+

{{ trim .Title " " }}

+
+
+

Project info

+
+
Project site
+
+ + {{ .Params.name }} + +
+
Authors
+
{{ .Params.author }}
+
Status
+
{{ .Params.projectStatus }}
+
+ {{ .Content }} +
+ {{ if eq .Params.projectStatus "dead" }} +

+ The project is currently dead. You can fork it if you find it helpful. +

+ {{ else }} +

+ The development of project is {{.Params.projectStatus}}. + You can help this project by contributing code, finding new issues, + suggesting new features, or donation. +

+ {{ end }} +
+ {{ partial "postInfo.html" . }} +
+ +{{ if and (.Site.Params.paginationSinglePost) (ne .Type "page") }} + {{ partial "paginationPost.html" . }} +{{ end }} + + +{{ partial "custom-webring.html" }} + +{{ end }} -- cgit 1.4.1