Skip to content

Commit 2fc56be

Browse files
committed
Add timezone configuration to prevent future post issues
1 parent d4f52d5 commit 2fc56be

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.github/workflows/hugo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
hugo mod get github.com/jpanther/congo/v2@v2.12.2
4646
4747
- name: Build
48-
run: hugo --minify
48+
run: hugo --minify --buildFuture
4949

5050
- name: Copy CNAME file
5151
run: |

AI.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,16 @@
4040
- Follow standard Markdown syntax
4141
- File naming: Use kebab-case for filenames (e.g., my-post-name.md)
4242
- Content organization: Place images in static/images/YYYY/MM/ folders
43-
- Date format: YYYY-MM-DD in front matter
43+
- Date format: YYYY-MM-DD in front matter (site timezone is Australia/Sydney)
4444
- Use Hugo shortcodes for complex content elements
4545
- Maintain responsive image usage with appropriate dimensions
4646
- Always use UK English
4747

48+
## Timezone Configuration
49+
- Site timezone: Australia/Sydney (set in config.yaml)
50+
- Build process includes --buildFuture flag to handle timezone differences
51+
- When creating new posts, use current date in Australia/Sydney timezone
52+
4853
## Writing Tone and Style
4954
- Reference STYLE_GUIDE.md for comprehensive tone and voice guidelines
5055
- Use personal, conversational tone rather than formal documentation style

config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
baseURL: https://cloudartisan.com/
22
languageCode: en-us
33
title: Cloud Artisan
4+
timezone: Australia/Sydney
45

56
# Google Analytics configuration (proper Congo/Hugo way)
67
services:

0 commit comments

Comments
 (0)