Set sidebar to false as default.
This commit is contained in:
parent
a3097d7fad
commit
70cc214f44
2 changed files with 3 additions and 3 deletions
|
|
@ -189,7 +189,7 @@ params:
|
|||
- "section1" # Default to the section with most content if not set.
|
||||
- "section2" # Set to empty if no section should be listed.
|
||||
microUsername: "" # Your micro.blog username.
|
||||
mobileMenu: true # Turn on a mobile menu on small screens.
|
||||
mobileMenu: true # Turn on a mobile menu on small screens, default false.
|
||||
piwikSiteId: # Matamo site id
|
||||
piwikTrackerUrl: "" # Matamo url, schemaless and no slash on end (example.org/matamo).
|
||||
plausibleSiteID: "" # Plausible site id/domain.
|
||||
|
|
@ -200,7 +200,7 @@ params:
|
|||
realfavicongenerator: # If full set of favicons, site manifest etc. exists, default false.
|
||||
relatedposts: true # Show related posts under a "See also" section, default false.
|
||||
searchLimit: 20 # Max number of search hits, default 20.
|
||||
sidebar: true # Show a sidebar to the right
|
||||
sidebar: true # Show a sidebar to the right, default false.
|
||||
submitted: true # Show author and date information for a post.
|
||||
themeColor: # Hex color value, used in meta tags, default "#ffffff".
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
</head>
|
||||
|
||||
<body class="{{ if .IsPage }}single-page{{ else }}list-page{{ end }}{{ if .IsHome }} front{{ end }}{{ with $.Param "bodyclass" }} {{ . }}{{ end }}">
|
||||
<div class="page layout__page{{ if $.Param "sidebar" | default true }} layout__sidebar-second{{ end }}">
|
||||
<div class="page layout__page{{ if $.Param "sidebar" }} layout__sidebar-second{{ end }}">
|
||||
<header class="header layout__header">
|
||||
{{ if $.Param "logo" | default true }}<a href="{{ "/" | relLangURL }}" title="Home" rel="home" class="header__logo"><img src="{{ with $.Param "logopath" }}{{ . | relURL }}{{ else }}{{ "/images/logo.png" | relURL }}{{ end }}" alt="Home" class="header__logo-image"></a>{{ end }}
|
||||
<h1 class="header__site-name">
|
||||
|
|
|
|||
Loading…
Reference in a new issue