github.com/e154/smart-home@v0.17.2-0.20240311175135-e530a6e5cd45/doc/themes/docsy/layouts/partials/community_links.html (about)

     1  {{ $links := .Site.Params.links }}
     2  
     3  <section class="row td-box td-box--4 td-box--gradient td-box--height-auto linkbox">
     4  <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
     5  <h2>Learn and Connect</h2>		
     6  <p>Using or want to use {{ .Site.Title }}? Find out more here:
     7  {{ with index $links "user"}}
     8  {{ template "community-links-list"  . }}
     9  {{ end }}
    10  </div>
    11  <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
    12  <h2>Develop and Contribute</h2>
    13  <p>If you want to get more involved by contributing to {{ .Site.Title }}, join us here:
    14  {{ with index $links "developer"}}
    15  {{ template "community-links-list"  . }}
    16  {{ end }}
    17  <p>You can find out how to contribute to these docs in our <a href="../docs/contribution-guidelines/">Contribution Guidelines</a>.
    18  </div>
    19  </section>
    20  
    21  {{ define "community-links-list" }}
    22  <ul>
    23   {{ range . }}
    24   <li title="{{ .name }}">
    25     <a target="_blank" rel="noopener" href="{{ .url }}"><i class="{{ .icon }}"></i> {{ .name }}:</a> {{ .desc }}
    26   </li>
    27    {{ end }}
    28  </ul>
    29  {{ end }}