diff --git a/themes/chosto/layouts/page/single.html b/themes/chosto/layouts/_default/single.html similarity index 77% rename from themes/chosto/layouts/page/single.html rename to themes/chosto/layouts/_default/single.html index 401fa4a..e6035c8 100644 --- a/themes/chosto/layouts/page/single.html +++ b/themes/chosto/layouts/_default/single.html @@ -4,9 +4,9 @@ If the current page is a blog post and belongs to a case, we will add a side menu with all other blog posts belonging to that case, emphasis to the current. --> - {{ if (and .IsPage (eq .FirstSection "posts"))}} + {{ if (and .IsPage (eq .FirstSection.Section "posts"))}} {{ with .CurrentSection }} - - {{ if (and .IsPage (eq .FirstSection "posts"))}} - - {{ end }} {{ end }} diff --git a/themes/chosto/layouts/partials/about.html b/themes/chosto/layouts/partials/about.html deleted file mode 100644 index 16b8828..0000000 --- a/themes/chosto/layouts/partials/about.html +++ /dev/null @@ -1,3 +0,0 @@ -