fixed theme switcher, updated config.toml
parent
abe73b6cf5
commit
29da9dc357
|
@ -377,9 +377,14 @@
|
|||
|
||||
/////////////////////////////// Tabbed Content ///////////////////////////////
|
||||
|
||||
.tabs-wrapper, .code-tabs-wrapper{
|
||||
.tabs-wrapper {
|
||||
margin: 2.5rem 0 .5rem;
|
||||
}
|
||||
|
||||
.code-tabs-wrapper {
|
||||
margin: 1.5rem 0 .5rem;
|
||||
}
|
||||
|
||||
.tabs, .code-tabs {
|
||||
p {
|
||||
display: flex;
|
||||
|
@ -431,6 +436,7 @@
|
|||
display: block;
|
||||
}
|
||||
a {
|
||||
padding: .1rem .75rem;
|
||||
margin: 0;
|
||||
border-radius: $border-radius $border-radius 0 0;
|
||||
display: inline-block;
|
||||
|
|
|
@ -9,10 +9,12 @@ enableGitInfo = true
|
|||
pygmentsCodefences = true
|
||||
pygmentsUseClasses = true
|
||||
|
||||
# Markdown rendering options
|
||||
[blackfriday]
|
||||
hrefTargetBlank = true
|
||||
|
||||
# Menu items without actual pages
|
||||
[menu]
|
||||
[[menu.versions]]
|
||||
name = "v1.x"
|
||||
url = "https://docs.influxdata.com"
|
||||
|
||||
[blackfriday]
|
||||
hrefTargetBlank = true
|
||||
|
|
|
@ -4,3 +4,4 @@
|
|||
{{ $headerjs := slice $jquery $cookies $themes | resources.Concat "js/header.bundle.js" }}
|
||||
|
||||
<script type="text/javascript" src="{{ $headerjs.Permalink }}" ></script>
|
||||
<script type="text/javascript">set_style_from_cookie();</script>
|
||||
|
|
Loading…
Reference in New Issue