2024-04-25 22:15:39 +00:00
|
|
|
{{ $links := .Site.Params.links -}}
|
2024-04-21 23:04:16 +00:00
|
|
|
|
2024-04-25 22:15:39 +00:00
|
|
|
<section class="row td-box td-box--white td-box--height-auto linkbox">
|
|
|
|
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
|
|
|
|
<h2>{{ T "community_learn" }}</h2>
|
|
|
|
<p>{{ T "community_using" . }}</p>
|
|
|
|
{{ with index $links "user" -}}
|
|
|
|
{{ template "community-links-list" . -}}
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
|
|
|
|
<h2>{{ T "community_develop" }}</h2>
|
|
|
|
<p>{{ T "community_contribute" . }}</p>
|
|
|
|
{{ with index $links "developer" -}}
|
|
|
|
{{ template "community-links-list" . -}}
|
|
|
|
{{ end }}
|
|
|
|
<p>
|
|
|
|
{{ T "community_how_to" . }}
|
|
|
|
<a href="{{ "docs/contribution-guidelines" | relURL }}">{{ T "community_guideline" }}</a>.
|
|
|
|
</p>
|
|
|
|
</div>
|
2024-04-21 23:04:16 +00:00
|
|
|
</section>
|
|
|
|
|
2024-04-25 22:15:39 +00:00
|
|
|
{{ define "community-links-list" -}}
|
2024-04-21 23:04:16 +00:00
|
|
|
<ul>
|
2024-04-25 22:15:39 +00:00
|
|
|
{{ range . -}}
|
|
|
|
<li title="{{ .name }}">
|
|
|
|
<a target="_blank" rel="noopener" href="{{ .url }}"><i class="{{ .icon }}"></i> {{ .name }}</a>:
|
|
|
|
{{ .desc }}
|
|
|
|
</li>
|
2024-04-21 23:04:16 +00:00
|
|
|
{{ end }}
|
2024-04-25 22:15:39 +00:00
|
|
|
</ul>
|
|
|
|
{{- end }}
|