mirror of https://github.com/grpc/grpc.io.git
Drop erroneous redefinition of Bootstrap color, and move footer.html (#728)
This commit is contained in:
parent
2fdfcd010b
commit
1782ee7262
|
|
@ -2,7 +2,6 @@
|
|||
$primary: #244c5a;
|
||||
$secondary: #5ac5c5;
|
||||
$info: #379c9c;
|
||||
$gray-100: #fafafa;
|
||||
|
||||
// Forward definitions of Bootstrap and Docsy variables
|
||||
// TODO: add value checks later in the import chain
|
||||
|
|
|
|||
|
|
@ -1,56 +0,0 @@
|
|||
{{/* grpc-docsy file override */ -}}
|
||||
{{ $links := .Site.Params.links }}
|
||||
<footer class="bg-dark py-5 row d-print-none">
|
||||
<div class="container-fluid mx-sm-5">
|
||||
<div class="row">
|
||||
<div class="col-6 col-sm-4 text-xs-center order-sm-2">
|
||||
{{ with $links }}
|
||||
{{ with index . "user"}}
|
||||
{{ template "footer-links-block" . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
<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 }}
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="col-12 col-sm-4 text-center py-2 order-sm-2">
|
||||
{{ with .Site.Params.copyright }}<small class="text-white">© {{ now.Year}} {{ . }}
|
||||
<!-- {{ T "footer_all_rights_reserved" }} -->
|
||||
</small>{{ end }}
|
||||
{{ with .Site.Params.privacy_policy }}<small class="ml-1"><a href="{{ . }}" target="_blank">{{ T "footer_privacy_policy" }}</a></small>{{ end }}
|
||||
{{ if not .Site.Params.ui.footer_about_disable }}
|
||||
{{ with .Site.GetPage "about" -}}
|
||||
<p class="mt-2 text-white"><a href="{{ .RelPermalink }}">{{ .Title }}</a> |
|
||||
<a href="#">Trademarks</a> |
|
||||
<a href="#">Terms</a>
|
||||
</p>
|
||||
{{- end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="row text-center text-white small">
|
||||
<div class="col-12 text-center py-2 order-sm-2">
|
||||
<a href="https://www.linuxfoundation.org/terms" target="_blank" rel="noopener">Terms</a> |
|
||||
<a href="https://www.linuxfoundation.org/privacy" target="_blank" rel="noopener">Privacy</a> |
|
||||
<a href="https://www.linuxfoundation.org/trademark-usage" target="_blank" rel="noopener">Trademarks</a> |
|
||||
<a href="https://github.com/grpc/grpc.io/blob/main/LICENSE" target="_blank" rel="noopener">License</a> |
|
||||
<a href="/about/">About</a>
|
||||
</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 }}" aria-label="{{ .name }}">
|
||||
<a class="text-white" target="_blank" rel="noopener noreferrer" href="{{ .url }}">
|
||||
<i class="{{ .icon }}"></i>
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
|
|
@ -1 +1 @@
|
|||
Subproject commit d964d34380f436cbd9ba947a1b82cc72018f2698
|
||||
Subproject commit e95da39c9933afe159b74b0d6b5b71407aab7d7d
|
||||
Loading…
Reference in New Issue