diff --git a/layouts/partials/latest-posts.html b/layouts/partials/latest-posts.html
index 4ed1374..5875751 100644
--- a/layouts/partials/latest-posts.html
+++ b/layouts/partials/latest-posts.html
@@ -1,8 +1,8 @@
{{ with .Site.Params.readMore }}{{ . }}{{ else }}Read more{{ end }}
{{ range first 10 .Site.Pages }}
- {{ $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }}
- {{ if and (ne $url "about/") (ne $.Title .Title) }}
+ {{ $url := replace .Permalink .Site.BaseURL "" }}
+ {{ if and (ne $url "about/") }}
-
{{ .Title }}
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html
index 8c9b8f3..1716e92 100644
--- a/layouts/partials/nav.html
+++ b/layouts/partials/nav.html
@@ -1,6 +1,6 @@