Skip to content

Commit b66e32b

Browse files
authored
Merge pull request #10 from nkdAgility/update-to-debug-environemnt
Add initial implementation of site structure and content updates
2 parents b0f96ec + 92cb570 commit b66e32b

File tree

15 files changed

+183
-16
lines changed

15 files changed

+183
-16
lines changed

module/layouts/_partials/components/translations/community-translations2.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ <h2 class="mb-3">{{ i18n "download_community_translations" . }}</h2>
2121
{{- $productionLanguagesData = $productionLanguagesFile.Content | transform.Unmarshal }}
2222
{{- end }}
2323
{{- else }}
24-
{{- $productionLanguagesUrl := printf "%slanguages.json?v=%d" .Site.Params.productionSiteUrl now.Unix }}
24+
{{- $baseUrl := strings.TrimSuffix "/" .Site.Params.productionSiteUrl }}
25+
{{- $productionLanguagesUrl := printf "%s/languages.json?v=%d" $baseUrl now.Unix }}
2526
{{- with try (resources.GetRemote $productionLanguagesUrl) }}
2627
{{ with .Err }}
2728
{{ warnf "Error fetching production languages: %s" . }}

module/layouts/_partials/components/translations/preview-translations.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,15 @@
1515
{{- if eq hugo.Environment "production" }}
1616
{{- $productionLanguagesUrl = "/languages.json" }}
1717
{{- else }}
18-
{{- $productionLanguagesUrl = printf "%slanguages.json?v=%d" .Site.Params.productionSiteUrl now.Unix }}
18+
{{- $baseUrl := strings.TrimSuffix "/" .Site.Params.productionSiteUrl }}
19+
{{- $productionLanguagesUrl = printf "%s/languages.json?v=%d" $baseUrl now.Unix }}
1920
{{- end }}
2021

2122
{{- if eq hugo.Environment "preview" }}
2223
{{- $previewLanguagesUrl = "/languages.json" }}
2324
{{- else }}
24-
{{- $previewLanguagesUrl = printf "%slanguages.json?v=%d" .Site.Params.previewSiteUrl now.Unix }}
25+
{{- $baseUrl := strings.TrimSuffix "/" .Site.Params.previewSiteUrl }}
26+
{{- $previewLanguagesUrl = printf "%s/languages.json?v=%d" $baseUrl now.Unix }}
2527
{{- end }}
2628

2729
{{/* Load production languages */}}

serve.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Remove-Item -Recurse -Force .\public\
2+
hugo serve --source site --config hugo.yaml, hugo.local.yaml

site/content/Guide1/_index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,4 @@ layman_description: |
3333
[Guide 1](/guide-1/latest) is a short and clear handbook that explains how to manage work effectively. It helps team members visualize what they're working on, avoid multitasking, and deliver more reliably. It's written to be easy to follow, with just the essentials. Perfect for any team that wants a simple way to organize work and improve flow.
3434
practitioner_description: |
3535
[Guide 1](/guide-1/latest) is the official, succinct manual for work management in knowledge work. It outlines strategies for optimizing the flow of value through a process, using three core practices: visualizing workflow, actively managing work items, and continuously improving the workflow. It defines a minimal set of required elements and flow metrics. This guide is ideal for establishing a shared understanding of fundamentals in teams or organizations, especially where simplicity, stability, and clarity are essential.
36-
aliases:
37-
- /guide1/latest
3836
---

site/content/Guide1/_index.min.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,4 @@ layman_description: |
4040
4141
practitioner_description: |
4242
[Da Guide 1](/min/guide-1/latest) is da pro banana booky. Say how to flow da value like a river of pudding. Got da 3 big things: see da work, manage da work, fix da work. All clean, all shiny. If you need clear, stable, no-headache work stuff, dis da one.
43-
aliases:
44-
- /guide-1/latest
4543
---

site/content/Guide1/translations/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ description: Originals & Translations of Guide 1
66
aliases:
77
- /downloads/
88
- /download/
9-
- /translationsdirectory/
9+
- /translations/
1010
---

site/content/Guide2/2025.7/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ sansfont: "Arial"
1515
monofont: "Courier New"
1616
sitemap:
1717
priority: 1.0
18-
aliases:
19-
- /guide-2/latest/
2018
---
2119

2220
Guide 2 - Extended Edition

site/content/Guide2/2025.7/index.min.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ sansfont: "Ari-Banana"
1818
monofont: "Courier Peel"
1919
sitemap:
2020
priority: 1.0
21-
aliases:
22-
- /guide-2/latest/
2321
---
2422

2523
Guide 2 Banana Booky – For Smart Worky Stuff

site/content/Guide2/translations/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ Type: "guide"
66
aliases:
77
- /downloads/
88
- /download/
9-
- /translationsdirectory/
9+
- /translations/
1010
---

site/content/_index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
title: "Guides Site"
3-
url: "/"
43
not_sure_which_to_use: |
54
This is the big guides site
65
---

0 commit comments

Comments
 (0)