{{ define "main" }}
<h4 align="center">合作伙伴</h4>

<!-- 当前年度有合作的，列在前面 -->
<div style="margin: 10px;text-align: center;">
    {{ range .Pages }}
    {{if in .Params.period (string now.Year) }}
    <span style="padding-left: 10px; padding-right: 10px;">
        {{ if and (ne .Params.logo nil) (ne .Params.logo "") }}
        {{ if and (ne .Params.homepage nil) (ne .Params.homepage "") }}<a href="{{.Params.homepage}}" target="_blank"
            ref="nofollow">{{ end}}
         