Added "Powered by gVisor" image to footer

This commit is contained in:
Fabricio Voznika
2019-04-10 19:16:56 -07:00
committed by Fabricio Voznika
parent 3513350de6
commit 644a73cb46
2 changed files with 11 additions and 7 deletions
+11 -7
View File
@@ -12,22 +12,27 @@
<div class="col-6 col-sm-4 text-right text-xs-center order-sm-3">
{{ with $links }}
{{ with index . "developer"}}
{{ template "footer-links-block" . }}
{{ end }}
<ul class="list-inline mb-0">
{{ template "footer-links-block" . }}
{{ end }}
<li class="list-inline-item mx-2" >&nbsp</li>
<li class="list-inline-item mx-2" >
<img src="/img/powered-gvisor.png" alt="Powered by gVisor">
</li>
</ul>
{{ end }}
</div>
<div class="col-12 col-sm-4 text-center py-2 order-sm-2">
{{ with .Site.Params.copyright }}<small class="text-white">&copy; {{ now.Year}} {{ .}} {{ T "footer_all_rights_reserved" }}</small>{{ end }}
{{ with .Site.Params.privacy_policy }}<small class="ml-1"><a href="{{ . }}">{{ T "footer_privacy_policy" }}</a></small>{{ end }}
{{ if not .Site.Params.ui.footer_about_disable }}
{{ with .Site.GetPage "about" }}<p class="mt-2"><a href="{{ .RelPermalink }}">{{ .Title }}</a></p>{{ end }}
{{ end }}
{{ if not .Site.Params.ui.footer_about_disable }}
{{ with .Site.GetPage "about" }}<p class="mt-2"><a href="{{ .RelPermalink }}">{{ .Title }}</a></p>{{ end }}
{{ end }}
</div>
</div>
</div>
</footer>
{{ define "footer-links-block" }}
<ul class="list-inline mb-0">
{{ range . }}
<li class="list-inline-item mx-2 h3" data-toggle="tooltip" data-placement="top" title="{{ .name }}">
<a class="text-white" target="_blank" rel="noopener" href="{{ .url }}">
@@ -35,5 +40,4 @@
</a>
</li>
{{ end }}
</ul>
{{ end }}
Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB