We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f3c27f commit 41b02e1Copy full SHA for 41b02e1
1 file changed
docs/layouts/_default/default.html
@@ -143,6 +143,11 @@
143
font-size: 0.85em;
144
}
145
146
+ img {
147
+ max-width: 100%;
148
+ height: auto;
149
+ }
150
+
151
.heading-anchor {
152
opacity: 0;
153
margin-left: 0.3em;
@@ -198,7 +203,7 @@
198
203
<body>
199
204
<nav class="page-nav">
200
205
<a href="{{ .Site.Home.RelPermalink }}"{{ if .IsHome }} class="active" aria-current="page"{{ end }}>Overview</a>
201
- <a href="{{ "/doc/latest/" | relURL }}">API documentation</a>
206
+ <a href="{{ printf "doc/%s/" (.Site.Params.docsVersion | default "latest") | relURL }}">API documentation</a>
202
207
</nav>
208
<main>
209
{{ .Content }}
0 commit comments