diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7b0bf44..3132aec 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -486,7 +486,7 @@
* **html:** add href for <a> tag ([fc936ae](https://github.com/hugo-sid/hugo-blog-awesome/commit/fc936ae1374e11f9e3447acff73dae69d4eeb889))
* link to license in readme ([91e0cd9](https://github.com/hugo-sid/hugo-blog-awesome/commit/91e0cd972c2c2f6c061c9c0ddd00712fbf7f0c69))
* meta description ([340bd14](https://github.com/hugo-sid/hugo-blog-awesome/commit/340bd14a97dc9665d1b9d0749b9aa54be72690e5))
-* recent posts on home page is not correctly filtered ([#23](https://github.com/hugo-sid/hugo-blog-awesome/issues/23)) ([4afdfcb](https://github.com/hugo-sid/hugo-blog-awesome/commit/4afdfcbb47a302395929c3cf015f6b705978e48f))
+* Posts on home page is not correctly filtered ([#23](https://github.com/hugo-sid/hugo-blog-awesome/issues/23)) ([4afdfcb](https://github.com/hugo-sid/hugo-blog-awesome/commit/4afdfcbb47a302395929c3cf015f6b705978e48f))
* stretched image ([87c7756](https://github.com/hugo-sid/hugo-blog-awesome/commit/87c775645a5b002e9c9c4e5e0581e11e87f78d54))
* stretched image ([#3](https://github.com/hugo-sid/hugo-blog-awesome/issues/3)) ([5eb9b07](https://github.com/hugo-sid/hugo-blog-awesome/commit/5eb9b07e569fb04080d13a47c5cce4557f36a0f5))
* template failure in bio.html when avatar is not found/defined ([#15](https://github.com/hugo-sid/hugo-blog-awesome/issues/15)) ([295c8a1](https://github.com/hugo-sid/hugo-blog-awesome/commit/295c8a13cdf3f5e928cbc1275dc19e053585d232))
diff --git a/i18n/en-gb.yaml b/i18n/en-gb.yaml
index f55c950..555fd14 100644
--- a/i18n/en-gb.yaml
+++ b/i18n/en-gb.yaml
@@ -3,7 +3,7 @@
translation: "Home"
- id: "home.recent_posts"
- translation: "Recent Posts"
+ translation: "Posts"
- id: "home.see_all_posts"
translation: "See all posts"
diff --git a/i18n/en-us.yaml b/i18n/en-us.yaml
index f55c950..555fd14 100644
--- a/i18n/en-us.yaml
+++ b/i18n/en-us.yaml
@@ -3,7 +3,7 @@
translation: "Home"
- id: "home.recent_posts"
- translation: "Recent Posts"
+ translation: "Posts"
- id: "home.see_all_posts"
translation: "See all posts"
diff --git a/layouts/index.html b/layouts/index.html
index 76e3aba..9fb6500 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -18,20 +18,15 @@
{{ partial "bio" . }}
- {{ T "home.recent_posts" }}
- {{/* Show last 5 posts in reverse date order */}}
+ {{ T "home.recent_posts" }}
{{ $pagesToShow := where .Site.RegularPages "Type" "in" site.Params.mainSections }}
{{ $posts := $pagesToShow.ByDate.Reverse }}
- {{ range first 5 $posts }}
+ {{ range $posts }}
{{ partial "postCard" . }}
{{ end }}
- {{ if gt (len $posts) 5 }}
-
- {{ range $firstSection := (where .Site.Sections "Section" "in" (first 1 (.Site.Params.mainSections))) }}
- {{ T "home.see_all_posts" }}
- {{ end }}
-
- {{ end }}
+
+ {{/* I edited this so it shows all posts, original has 5 recent posts*/}}
+
{{- partial "footer.html" . -}}