mirror of https://github.com/istio/istio.io.git
Bunch 'o fixes (#1529)
- Make "make serve" actually work. - Eliminate superfluous "scroll left nav into view" button on screens that don't have a sidebar (community & search result). Only matters on mobile. - Fix unpleasant wrapping in the footer when on mobile.
This commit is contained in:
parent
14b851f853
commit
5ce2c7bb2d
2
Makefile
2
Makefile
|
@ -12,7 +12,7 @@ lint:
|
|||
$(docker) scripts/lint_site.sh
|
||||
|
||||
serve:
|
||||
$(docker) scripts/serve_site.sh
|
||||
docker run -t -i --sig-proxy=true --rm -v $(shell pwd):/site -w /site -p 1313:1313 $(img) hugo serve --bind 0.0.0.0 --disableFastRender
|
||||
|
||||
netlify:
|
||||
npm install -g html-minifier
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<footer class="d-print-none container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-6 col-lg-4" role="navigation">
|
||||
<div class="col-4 col-lg-4" role="navigation">
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="icon">
|
||||
|
@ -42,7 +42,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-6 col-lg-4">
|
||||
<div class="col-8 col-lg-4">
|
||||
<p class="text-center copyright" role="contentinfo">
|
||||
Istio
|
||||
{{ if .Site.Data.args.archive }}
|
||||
|
|
|
@ -19,11 +19,13 @@
|
|||
<div class="col-12 col-md-9 col-xl-10">
|
||||
{{ end }}
|
||||
|
||||
<p class="d-md-none">
|
||||
<label class="sidebar-toggler" data-toggle="offcanvas">
|
||||
<i class="fa fa-sign-out-alt"></i>
|
||||
</label>
|
||||
</p>
|
||||
{{ if or $section.Params.sidebar_singlecard $section.Params.sidebar_multicard }}
|
||||
<p class="d-md-none">
|
||||
<label class="sidebar-toggler" data-toggle="offcanvas">
|
||||
<i class="fa fa-sign-out-alt"></i>
|
||||
</label>
|
||||
</p>
|
||||
{{ end }}
|
||||
|
||||
<main aria-labelledby="title">
|
||||
<h1 id="title">{{ .Title }}</h1>
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
hugo serve --disableFastRender
|
Loading…
Reference in New Issue