diff --git a/layouts/404.html b/layouts/404.html
index 1819378..4d2a39c 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -3,7 +3,7 @@
404 Not Found
What you're looking for isn't here, sorry!
-
← Click here to go back home
+
← Click here to go back home
-{{ partial "foot.html" . }}
\ No newline at end of file
+{{ partial "foot.html" . }}
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 435ee5b..40705d1 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -5,11 +5,11 @@
+{{ if isset .Site.Params "hometag" }}
+ {{ range .Data.Pages }}
+ {{ if in .Params.tags .Site.Params.hometag }}
+
{{ .Title }}
+ {{ .Content }}
+ {{ end }}
+ {{ end }}
+{{ else }}
- {{ $paginator := .Paginate (where .Data.Pages "Type" "post") }}
+ {{ $homesection := (or .Site.Params.homesection "post") }}
+ {{ $paginator := .Paginate (where .Data.Pages "Type" $homesection) }}
{{ range $paginator.Pages }}
@@ -10,7 +19,7 @@
{{ .Date.Format "Jan 2, 2006" }} · {{ .ReadingTime }} minute read{{ if .Site.DisqusShortname }} · Comments{{ end }}
{{ if isset .Params "categories" }}
- {{ $baseUrl := .Site.BaseUrl }}
+ {{ $baseUrl := .Site.BaseURL }}
{{ range .Params.categories }}{{ . }}{{ end }}
{{ end }}
{{ .Description }}
@@ -19,6 +28,7 @@
{{ end }}
{{ template "_internal/pagination.html" . }}
+{{ end }}
{{ with .Site.DisqusShortname }}
@@ -32,4 +42,4 @@
}());
{{ end }}
-{{ partial "foot.html" . }}
\ No newline at end of file
+{{ partial "foot.html" . }}
diff --git a/layouts/partials/foot.html b/layouts/partials/foot.html
index e2c7d0a..ce1a6de 100644
--- a/layouts/partials/foot.html
+++ b/layouts/partials/foot.html
@@ -1,4 +1,4 @@
-{{ if isset .Site.Params "highlight" }}
+{{ if isset .Site.Params "highlight" }}
{{ end }}
{{ with .Site.Params.googleAnalytics }}
{{ end }}