From f80c310c0f9d38f19255a3555a55bde1cd535c87 Mon Sep 17 00:00:00 2001 From: Ngô Ngọc Đức Huy Date: Tue, 24 Aug 2021 21:53:43 +0700 Subject: Add projects section --- layouts/_default/project.html | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'layouts') diff --git a/layouts/_default/project.html b/layouts/_default/project.html index 34a04ea..1761cbb 100644 --- a/layouts/_default/project.html +++ b/layouts/_default/project.html @@ -20,8 +20,24 @@ {{ .Params.name }} -
Authors
-
{{ .Params.author }}
+ {{ if isSet .Params "author" }} +
Creator
+ {{ if isSet .Params "authorurl" }} +
{{ .Params.author }}
+ {{ else }} +
{{ .Params.author }}
+ {{ end }} + {{ end }} + {{ if isSet .Params "maintainers" }} +
Maintainers
+ {{ range $maintainer := .Params.maintainers }} + {{ if isSet $maintainer "URL" }} +
{{ $maintainer.name }}
+ {{ else }} +
{{ $maintainer.name }}
+ {{ end }} + {{ end }} + {{ end }}
Status
{{ .Params.projectStatus }}
-- cgit 1.4.1