Skip to content

Commit c5b6e9f

Browse files
authored
Merge pull request #477 from gethinode/develop
Publish customization guide
2 parents 7b0e62b + 00d9cc7 commit c5b6e9f

File tree

17 files changed

+343
-25
lines changed

17 files changed

+343
-25
lines changed

assets/img/sketching.jpg

493 KB
Loading

config/_default/params.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@
9393
[sections.guides]
9494
title = "Check our guides to get you started"
9595
layout = "card"
96-
sort = "weight"
97-
reverse = false
96+
sort = "date"
97+
reverse = true
9898
background = ""
9999
color = "body-tertiary"
100100
style = "border-0 shadow card-zoom card-body-margin"
@@ -271,6 +271,7 @@
271271
hugo = "https://gohugo.io"
272272
hugo_alias = "https://gohugo.io/content-management/urls/#aliases"
273273
hugo_build = "https://gohugo.io/content-management/build-options"
274+
hugo_config_overview = "https://gohugo.io/getting-started/configuration/"
274275
hugo_config = "https://gohugo.io/getting-started/configuration/#all-configuration-settings"
275276
hugo_config_dir = "https://gohugo.io/getting-started/configuration/#configuration-directory"
276277
hugo_content = "https://gohugo.io/content-management/formats"

content/en/docs/latest/configuration/languages.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Languages
33
description: Configure multiple languages to enable multilingual sites.
4-
date: 2024-08-14
4+
date: 2024-08-18
55
layout: docs
66
---
77

@@ -45,12 +45,3 @@ Hinode uses Hugo's {{< link hugo_i18n >}}internationalization function{{< /link
4545
- id: about
4646
translation: "Over mij"
4747
```
48-
49-
## Discarding localization
50-
51-
The {{< link repository_template >}}Hinode template{{< /link >}} defines two languages by default. Follow the next steps to discard the Dutch language (`nl` code) entirely:
52-
53-
- Remove the folder `content/nl` and its nested content
54-
- Remove the entire `[nl]` section in `config/_default/languages.toml`
55-
- Remove the file `menus.nl.toml` section in `config/_default/menus`
56-
- Set the value `defaultContentLanguageInSubdir` to `false` in `config/_default/hugo.toml`

content/en/docs/latest/configuration/layout.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -230,21 +230,21 @@ The list page uses the [configuration of a single section]({{% relref "#configur
230230
> [!IMPORTANT]
231231
> Single pages support {{< link hugo_content_view >}}content view templates{{< /link >}} since release {{< release version="v0.21.0" short="true" type="link" >}}. Set the `type` in the page's frontmatter. The `type` parameter replaces the previous `layout` parameter.
232232
233-
Single pages follow the base layout but introduce two columns next to the body content. The left column shows a [sidebar navigation]({{% ref "navigation#sidebar-navigation" %}}) if applicable and is left empty otherwise. The right column shows a [table of contents]({{% ref "navigation#table-of-contents" %}}) for the current page if applicable. On smaller viewscreens, the sidebar navigation folds into an offcanvas element, whilst the table of contents is hidden. On medium-sized screens the sidebar navigation takes precedence over the table of contents. The following diagram illustrates the base layout.
233+
Single pages follow the base layout but introduce two columns next to the body content. The left column shows a [sidebar navigation]({{% ref "navigation#sidebar-navigation" %}}) if applicable and is left empty otherwise. The right column shows a [table of contents]({{% ref "navigation#table-of-contents" %}}) for the current page if applicable. On smaller viewscreens, the sidebar navigation folds into an offcanvas element, whilst the table of contents is hidden. On medium-sized screens the sidebar navigation takes precedence over the table of contents. The following diagram illustrates the base layout (note: this may best be viewed on a larger screen).
234234
235-
{{< card-group color="body-tertiary" cols="auto" padding="3" class="text-center bg-opacity-10 text-body" wrapper="border rounded-3 my-4 p-4" >}}
235+
{{< card-group color="body-tertiary" cols="auto" padding="3" class="text-center bg-opacity-10 text-body d-fluid" wrapper="border rounded-3 my-4 p-4" >}}
236236
{{< card class="col-12" >}}Header .col-12{{< /card >}}
237-
{{< card color="info" class="col-3" >}}
237+
{{< card color="info" class="col-12 col-lg-2 flex-grow-1 d-none d-lg-block" >}}
238238
Sidebar
239239
240240
*sticky*
241241
{{< /card >}}
242-
{{< card color="info" class="col mx-4" >}}
242+
{{< card color="info" class="col-12 col-lg-6 mx-lg-4" >}}
243243
Body .col-8 .flex-fill
244244
245245
*expands to fill viewport*
246246
{{< /card >}}
247-
{{< card color="info" class="col-3" >}}
247+
{{< card color="info" class="col-12 col-lg-2 flex-grow-1 d-none d-lg-block" >}}
248248
TOC
249249
250250
*sticky*
1.67 MB
Loading
1.68 MB
Loading
614 KB
Loading
612 KB
Loading
1.24 MB
Loading
1.24 MB
Loading

0 commit comments

Comments
 (0)