Add body classes for list and single pages as well as front.
This commit is contained in:
parent
8738a53792
commit
defca5605c
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@
|
||||||
{{ partialCached "matomo.html" . }}
|
{{ partialCached "matomo.html" . }}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body class="{{ if .IsPage }}single-page{{ else }}list-page{{ end }}{{ if .IsHome }} front{{ end }}">
|
||||||
<div class="page layout__page{{ if $.Param "sidebar" | default true }} layout__sidebar-second{{ end }}">
|
<div class="page layout__page{{ if $.Param "sidebar" | default true }} layout__sidebar-second{{ end }}">
|
||||||
<header class="header layout__header">
|
<header class="header layout__header">
|
||||||
{{ if $.Param "logo" | default true }}<a href="{{ "/" | relLangURL }}" title="Home" rel="home" class="header__logo"><img src="{{ "/images/logo.png" | relURL }}" alt="Home" class="header__logo-image"></a>{{ end }}
|
{{ if $.Param "logo" | default true }}<a href="{{ "/" | relLangURL }}" title="Home" rel="home" class="header__logo"><img src="{{ "/images/logo.png" | relURL }}" alt="Home" class="header__logo-image"></a>{{ end }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue