diff options
author | Alexandros <onedrawingperday@users.noreply.github.com> | 2019-11-22 11:07:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-22 11:07:13 +0300 |
commit | eb2fde06266e3a193cb7109481cc5e626feea467 (patch) | |
tree | f19c3bbc807afc36ac4a5f3ae617d099d52807f8 | |
parent | fe54ba8ec9057305e80388e5a760c5532dda9535 (diff) |
Add support for multiple authors (#65)
See: https://github.com/gohugoio/hugoThemes/issues/242
-rw-r--r-- | layouts/partials/theme-details.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/layouts/partials/theme-details.html b/layouts/partials/theme-details.html index 162f99b..69b06d8 100644 --- a/layouts/partials/theme-details.html +++ b/layouts/partials/theme-details.html @@ -15,6 +15,18 @@ {{ end }} {{ end }} + {{ with .Params.authors }} + <li class="mb2"> + <span class="label"> + Authors: + </span> + {{ range . }} + {{with .homepage}}<a href="{{.}}">{{else}}<span class="value">{{end}}{{.name}} + {{with .homepage}}</a>{{else}}</span>{{end}} + {{ end }} + </li> + {{ end }} + {{ with .Params.min_version }} <li class="mb2"> <span class="label">Minimum Hugo Version:</span> <span class="value">{{ . }}</span> |