Debian Codegraph @

doc/layouts/partials/footer.html

raw
1 <!--
2
3 Licensed to the Apache Software Foundation (ASF) under one
4 or more contributor license agreements. See the NOTICE file
5 distributed with this work for additional information
6 regarding copyright ownership. The ASF licenses this file
7 to you under the Apache License, Version 2.0 (the
8 "License"); you may not use this file except in compliance
9 with the License. You may obtain a copy of the License at
10
11 https://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing,
14 software distributed under the License is distributed on an
15 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 KIND, either express or implied. See the License for the
17 specific language governing permissions and limitations
18 under the License.
19
20 -->
21
22 {{ $links := .Site.Params.links }}
23 <footer class="bg-dark py-5 row d-print-none">
24 <div class="container-fluid mx-sm-5">
25 <div class="row">
26 <div class="col-4 col-sm-3 text-xs-center order-sm-2">
27 {{ with $links }}
28 {{ with index . "user"}}
29 {{ template "footer-links-block" . }}
30 {{ end }}
31 {{ end }}
32 </div>
33 <div class="col-4 col-sm-3 text-right text-xs-center order-sm-3">
34 {{ with $links }}
35 {{ with index . "developer"}}
36 {{ template "footer-links-block" . }}
37 {{ end }}
38 {{ end }}
39 </div>
40 <div class="col-10 col-sm-3 text-center py-2 order-sm-2">
41 {{ with .Site.Params }}<a href="{{ .apache_foundation }}"><small class="text-white">&copy; {{ now.Year}} {{ .copyright }} </small></a><small class="text-white">{{ T "footer_all_rights_reserved" }}</small>{{ end }}
42 {{ if not .Site.Params.ui.footer_about_disable }}
43 {{ with .Site.GetPage "about" }}<p class="mt-2"><a href="{{ .RelPermalink }}">{{ .Title }}</a></p>{{ end }}
44 {{ end }}
45 <p><small class="text-white">Apache Avro, Avro&trade;, Apache&reg;, and the Apache feather logo are either registered trademarks or trademarks of The Apache Software Foundation.</small></p>
46 </div>
47 <div class="col-5 col-sm-3 order-sm-2">
48 {{ with .Site.Params }}<a href="{{ .apache_events_url }}"><img src="{{ .apache_events_logo }}"></a>{{ end }}
49 </div>
50 </div>
51 </div>
52 </footer>
53 {{ define "footer-links-block" }}
54 <ul class="list-inline mb-0">
55 {{ range . }}
56 <li class="list-inline-item mx-2 h3" data-toggle="tooltip" data-placement="top" title="{{ .name }}" aria-label="{{ .name }}">
57 <a class="text-white" target="_blank" rel="noopener" href="{{ .url }}" aria-label="{{ .name }}">
58 <i class="{{ .icon }}"></i>
59 </a>
60 </li>
61 {{ end }}
62 </ul>
63 {{ end }}