about summary refs log tree commit diff stats
path: root/layouts/_default
diff options
context:
space:
mode:
authorAlan Pearce2017-07-04 20:40:28 +0200
committerAlan Pearce2017-07-04 20:40:28 +0200
commit3fb00f95d8f99fe57f3c49b3eb299c0b62af7e73 (patch)
tree603637579a90af0fb92762cc112881488909c890 /layouts/_default
parent022af90cb3aa08e891639f3db47ad3bb7b47632a (diff)
parent24492a6c1b5a081847bc6f6de2d6aa7a7d32b04f (diff)
downloadhyde-3fb00f95d8f99fe57f3c49b3eb299c0b62af7e73.tar.lz
hyde-3fb00f95d8f99fe57f3c49b3eb299c0b62af7e73.tar.zst
hyde-3fb00f95d8f99fe57f3c49b3eb299c0b62af7e73.zip
Merge branch 'master' of github.com:alanpearce/hyde
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/list.html2
-rw-r--r--layouts/_default/single.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index f6fad64..f412982 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,5 +1,5 @@
 {{ partial "head.html" . }}
-	<body class="theme-base-0b layout-reverse">
+  <body class="{{ .Site.Params.themeColor }} {{if .Site.Params.layoutReverse}}layout-reverse{{end}}">
 		<main class="content container" role="main">
 			<h1 class="page-title">{{ .Title }}</h1>
 			<ul class="posts">
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 390ecf0..1f48df8 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,5 +1,5 @@
 {{ partial "head.html" . }}
-	<body class="theme-base-0b layout-reverse h-entry">
+  <body class="{{ .Site.Params.themeColor }} {{if .Site.Params.layoutReverse}}layout-reverse{{end}} h-entry">
 		<main class="content container" role="main">
 			<article class="post">
 				<header>