-
Notifications
You must be signed in to change notification settings - Fork 0
Add initial implementation of site structure and content updates #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| Remove-Item -Recurse -Force .\public\ | ||
| hugo serve --source site --config hugo.yaml, hugo.local.yaml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,5 +6,5 @@ Type: "guide" | |
| aliases: | ||
| - /downloads/ | ||
| - /download/ | ||
| - /translationsdirectory/ | ||
| - /translations/ | ||
| --- | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,5 @@ | ||
| --- | ||
| title: "Guides Site" | ||
| url: "/" | ||
| not_sure_which_to_use: | | ||
| This is the big guides site | ||
| --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,8 @@ | ||
| github.com/KanbanGuides/KanbanGuides/site v0.0.0-20250807073058-1fb088304516 h1:bQ4DavaR+iSUnp08SEGOJX8QF9gPKBiemz4Hcxmz4hw= | ||
| github.com/KanbanGuides/KanbanGuides/site v0.0.0-20250807073058-1fb088304516/go.mod h1:9SBjS7dL3fK2jPW/8vSRTH5Z3uogJHgV4P8cHF733c4= | ||
| github.com/ScrumGuides/ScrumGuide-ExpansionPack/site v0.0.0-20250801110201-076bbcf543d8 h1:ZQbyJ44DJ7WCTqYtQp8MiVmPi+IW47C+1RU3PV1Eq+M= | ||
| github.com/ScrumGuides/ScrumGuide-ExpansionPack/site v0.0.0-20250801110201-076bbcf543d8/go.mod h1:MplyV/zE4iA2b3ixo6kX8HUwn0kb8Gjts6JP8qedhww= | ||
| github.com/nkdAgility/HugoGuides/module v0.6.4 h1:5MCak7zvxEJ9N0S6C74s22QNqhsiOoX2NMJ7tfMfOwk= | ||
| github.com/nkdAgility/HugoGuides/module v0.6.4/go.mod h1:VGUy7t0I5Ba4FWVFpuBzVI1RN/cOBvcWSeYGsAj37tE= | ||
| github.com/nkdAgility/HugoGuides/module v0.7.2 h1:eKkwj7p2r9+CpR7axltRWOX5KPJlhN3UQcVmhsOr8Zc= | ||
| github.com/nkdAgility/HugoGuides/module v0.7.2/go.mod h1:VGUy7t0I5Ba4FWVFpuBzVI1RN/cOBvcWSeYGsAj37tE= |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,144 @@ | ||
| {{- define "main" }} | ||
| <!-- Hero Section with lighter background --> | ||
| <section class="section container-fluid" style="background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);"> | ||
| <div class="container py-5"> | ||
| <div class="row justify-content-center"> | ||
| <div class="col-12 text-center mb-5"> | ||
| <h1 class="display-4 text-dark mb-4">{{ .Site.Title }}</h1> | ||
| <p class="lead text-muted fs-5">{{ i18n "guides_intro_text" . }}</p> | ||
| </div> | ||
| </div> | ||
|
|
||
| <!-- Guide Cards with lighter design --> | ||
| <div class="row"> | ||
| {{ $sections := .Site.Sections }} | ||
| {{ range .Site.Home.Translations }} | ||
| {{ $sections = $sections | lang.Merge .Site.Sections }} | ||
| {{ end }} | ||
| {{/* {{ $sections = lang.Merge $defaultSite.sections $sections }} */}} | ||
| {{- range $sections.ByWeight }} | ||
| <div class="col-12 col-lg-6 col-xl-6 p-3"> | ||
| <div class="card h-100 shadow-sm border-0" style="background: #ffffff;"> | ||
| <div class="card-header bg-white border-0 text-center py-3"> | ||
| <h5 class="card-title mb-2 text-dark">{{ .Params.short_title | default .Title }}</h5> | ||
| <div class="mx-auto rounded" style="height: 4px; width: 60px; background-color: {{ .Params.brand.bg_colour | default "#135289" }};"></div> | ||
| </div> | ||
| <div class="card-body d-flex flex-column p-4"> | ||
| <p class="flex-grow-1 text-muted">{{ .Params.which_to_use_summary | markdownify }}</p> | ||
|
|
||
| <!-- Action buttons with more inviting design --> | ||
| <div class="d-flex flex-wrap gap-2 justify-content-center py-3"> | ||
| {{- $latestVersion := partial "functions/get-latest-version" . }} | ||
| <a href="{{ partial "functions/safe-page-link.html" .Path }}" class="btn btn-primary btn-sm px-3"> | ||
| <i class="fa-solid fa-book-open me-2"></i>{{ i18n "read_online_button" . }} | ||
| </a> | ||
| <a href="{{ partial "functions/safe-page-link.html" (path.Join .Path "translations") }}" class="btn btn-outline-secondary btn-sm px-3"> | ||
| <i class="fa-solid fa-globe me-2"></i>{{ i18n "translations_button" . }} | ||
| </a> | ||
| <a href="{{ partial "functions/safe-page-link.html" (path.Join .Path "history") }}" class="btn btn-outline-secondary btn-sm px-3"> | ||
| <i class="fa-solid fa-clock-rotate-left me-2"></i>{{ i18n "history_button" . }} | ||
| </a> | ||
| </div> | ||
|
|
||
| <!-- Comparison details with better visual hierarchy --> | ||
| {{- if .Params.guide_comparison }} | ||
| {{- $guideComparison := .Params.guide_comparison }} | ||
| {{- if and $guideComparison (reflect.IsSlice $guideComparison) (gt (len $guideComparison) 0) }} | ||
| <div class="mt-3 p-3 rounded" style="background-color: #f8f9fa;"> | ||
| <h6 class="text-primary mb-3 fw-bold text-center"><i class="fa-solid fa-list-check me-2"></i>{{ i18n "at_a_glance_title" . }}</h6> | ||
| <div class="small"> | ||
| {{- range $index, $item := $guideComparison }} | ||
| <div class="row {{ if eq $index (sub (len $guideComparison) 1) }}mb-0{{ else }}mb-2{{ end }}"> | ||
| <div class="col-5 text-end fw-semibold text-secondary">{{ $item.title | title }}:</div> | ||
| <div class="col-7 text-dark">{{ $item.content | markdownify }}</div> | ||
| </div> | ||
| {{- end }} | ||
| </div> | ||
| </div> | ||
| {{- end }} | ||
| {{- end }} | ||
| </div> | ||
| </div> | ||
| </div> | ||
| {{- end }} | ||
| </div> | ||
|
|
||
| <!-- Information Cards - Two left, One right --> | ||
| <div class="row justify-content-center mt-5 mb-4 g-3"> | ||
| <!-- Left Column: Two stacked cards --> | ||
| <div class="col-12 col-lg-6 d-flex flex-column"> | ||
| <!-- Not Sure Which to Use Card --> | ||
| <div class="card shadow-sm border-0 mb-3 flex-fill" style="background: linear-gradient(45deg, #fff3cd 0%, #f8f9fa 100%);"> | ||
| <div class="card-header bg-transparent border-0 text-center py-3"> | ||
| <h3 class="card-title mb-0 text-primary"> | ||
| <i class="fa-solid fa-compass me-2"></i> | ||
| {{ i18n "not_sure_which_to_use_title" . }} | ||
| </h3> | ||
| </div> | ||
| <div class="card-body text-center px-4 pb-4"> | ||
| <div class="fs-6 text-dark"> | ||
| {{ .Params.not_sure_which_to_use | markdownify }} | ||
| </div> | ||
| </div> | ||
| </div> | ||
|
|
||
| <!-- What are the Guides Card --> | ||
| <div class="card shadow-sm border-0 flex-fill" style="background: linear-gradient(45deg, #f0f9ff 0%, #f8f9fa 100%);"> | ||
| <div class="card-header bg-transparent border-0 text-center py-3"> | ||
| <h3 class="card-title mb-0 text-primary"> | ||
| <i class="fa-solid fa-question-circle me-2"></i> | ||
| {{ i18n "what_is_guides_title" . }} | ||
| </h3> | ||
| </div> | ||
| <div class="card-body text-center px-4 pb-4"> | ||
| <div class="text-muted"> | ||
| {{ .Site.Params.description | markdownify }} | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
|
|
||
| <!-- Right Column: Open Source & Community Card --> | ||
| <div class="col-12 col-lg-6"> | ||
| <div class="card shadow-sm border-0 h-100" style="background: linear-gradient(45deg, #e3f2fd 0%, #f8f9fa 100%);"> | ||
| <div class="card-header bg-transparent border-0 text-center py-3"> | ||
| <h3 class="card-title mb-0 text-primary"> | ||
| <i class="fa-solid fa-users me-2"></i> | ||
| {{ i18n "open_source_title" . }} | ||
| </h3> | ||
| </div> | ||
| <div class="card-body text-center px-4 pb-4 d-flex flex-column"> | ||
| <p class="card-text text-muted mb-3">{{ i18n "open_source_description" . }}</p> | ||
| <div class="mt-auto"> | ||
| <a href="{{ .Site.Params.githubUrl }}/discussions" class="btn btn-primary btn-lg px-4 mb-2" target="_blank"> | ||
| <i class="fa-solid fa-comments me-2"></i>{{ i18n "join_discussion_button" . }} | ||
| </a> | ||
| </div> | ||
| <h6 class="text-primary mb-3 fw-bold">{{ i18n "contributors_title" . }}</h6> | ||
| <p class="small text-muted">{{ i18n "contributors_description" . }}</p> | ||
| {{ $sections := .Site.Sections }} | ||
| {{ range .Site.Home.Translations }} | ||
| {{ $sections = $sections | lang.Merge .Site.Sections }} | ||
| {{ end }} | ||
| {{- range $sections.ByWeight }} | ||
| <h6 class="text-primary mb-3 fw-bold">{{ .Params.short_title | default .Title }}</h6> | ||
| <!-- Contributors Section --> | ||
| {{- $contributors := partial "functions/get-contributors.html" . -}} | ||
| {{- $contributors = where $contributors "role" "in" (slice "contributor" "creator") -}} | ||
| {{- if $contributors -}} | ||
| <div class="mb-4"> | ||
| <div class="d-flex flex-wrap justify-content-center gap-2"> | ||
| {{ range sort $contributors "weight" "asc" }} | ||
| {{ partial "components/guide/guide-author.html" . }} | ||
| {{ end }} | ||
| </div> | ||
| </div> | ||
| {{- end -}} | ||
| {{- end }} | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </section> | ||
| {{- end }} | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.