From fb8f68892d0262e84697fd6efd41af5e2367f84d Mon Sep 17 00:00:00 2001 From: Quentin Duchemin Date: Thu, 28 Sep 2023 10:26:34 +0200 Subject: [PATCH] [Hugo] include content with publishdate in the future --- roles/hugo/templates/docker-compose.yml.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/hugo/templates/docker-compose.yml.j2 b/roles/hugo/templates/docker-compose.yml.j2 index 8c153a3..3bb0143 100644 --- a/roles/hugo/templates/docker-compose.yml.j2 +++ b/roles/hugo/templates/docker-compose.yml.j2 @@ -27,6 +27,8 @@ services: - website_files:/src - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro + # include content with publishdate in the future + command: --buildFuture # Hugo will build only # when triggered restart: on-failure