未验证 提交 eb2fde06 编写于 作者: A Alexandros 提交者: GitHub

Add support for multiple authors (#65)

See: https://github.com/gohugoio/hugoThemes/issues/242
上级 fe54ba8e
...@@ -15,6 +15,18 @@ ...@@ -15,6 +15,18 @@
{{ end }} {{ end }}
{{ 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 }} {{ with .Params.min_version }}
<li class="mb2"> <li class="mb2">
<span class="label">Minimum Hugo Version:</span> <span class="value">{{ . }}</span> <span class="label">Minimum Hugo Version:</span> <span class="value">{{ . }}</span>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册