diff --git a/content/lives/10e-live.md b/content/lives/10e-live.md index be77166..9e89079 100644 --- a/content/lives/10e-live.md +++ b/content/lives/10e-live.md @@ -2,7 +2,8 @@ title: "10ᵉ live" date: 2024-11-16T19:44:53+01:00 draft: false -announce: false +params: + announce: false categories: ["musique"] tags: ["streaming", "listening", "live"] slug: 10e-live diff --git a/i18n/en.toml b/i18n/en.toml new file mode 100644 index 0000000..e6e9f08 --- /dev/null +++ b/i18n/en.toml @@ -0,0 +1,2 @@ +announcedLive = "Announce of the next live!" +announce = "Announce!" diff --git a/i18n/fr.toml b/i18n/fr.toml new file mode 100644 index 0000000..e6e5886 --- /dev/null +++ b/i18n/fr.toml @@ -0,0 +1,2 @@ +announcedLive = "Annonce du prochain live !" +announce = "Annonce !" diff --git a/layouts/_default/section.html b/layouts/_default/section.html new file mode 100644 index 0000000..42b0721 --- /dev/null +++ b/layouts/_default/section.html @@ -0,0 +1,34 @@ +{{ define "main" }} +
+

{{.Title}}

+
+ +
+
+ {{.Content }} +
+
+ + {{ range .Pages.ByPublishDate.Reverse }} + + {{ end }} +
+
+{{ end }} diff --git a/layouts/partials/home_post_list.html b/layouts/partials/home_post_list.html new file mode 100644 index 0000000..31f9de1 --- /dev/null +++ b/layouts/partials/home_post_list.html @@ -0,0 +1,21 @@ +
+

{{ i18n "lastPosts" }}

+ + {{ range first 5 .Site.RegularPages.ByPublishDate.Reverse }} +
+ {{ if .Params.Announce }} + + {{- .Title -}} + {{ i18n "announce" }} + {{ else }} + + {{- .Title -}} + + {{ end }} +
+ {{ end }} +
diff --git a/themes/portfoliGor b/themes/portfoliGor index 0c6ae76..264fc34 160000 --- a/themes/portfoliGor +++ b/themes/portfoliGor @@ -1 +1 @@ -Subproject commit 0c6ae76ed93490439f4ffcaf28232a9b4f727011 +Subproject commit 264fc3480e6eb9f7a21df632eefe9e596cb174b3