mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 11:46:41 +02:00
Replace the old method to see if it is home by .IsHome
This commit is contained in:
@@ -5,8 +5,7 @@
|
|||||||
|
|
||||||
<body lang="{{ .Site.Params.lang }}">
|
<body lang="{{ .Site.Params.lang }}">
|
||||||
|
|
||||||
{{ $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }}
|
{{ if .IsHome }}
|
||||||
{{ if eq $url "" }}
|
|
||||||
<section class="header header-home">
|
<section class="header header-home">
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<section class="header">
|
<section class="header">
|
||||||
|
Reference in New Issue
Block a user