You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/latest/advanced-settings/partial-development.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,9 +53,9 @@ Next, the parent `card-group` shortcode reads the scratch variable `inner` and p
53
53
## Argument validation
54
54
55
55
> [!NOTE]
56
-
> Hinode has revised the argument validation in {{< release version="v1.0.0-beta3" short="true" link-type="link" >}}. Partials and shortcodes now use the utility function `utilities/InitArgs.html`. The previous function `utilities/IsInvalidArgs.html` is no longer supported.
56
+
> Hinode has revised the argument validation in {{< release version="v1.0.0" short="true" link-type="link" >}}. Partials and shortcodes now use the utility function `utilities/InitArgs.html`. The previous function `utilities/IsInvalidArgs.html` is no longer supported.
57
57
58
-
{{< release version="1.0.0-beta3" >}}
58
+
{{< release version="1.0.0" >}}
59
59
60
60
Most shortcodes support multiple arguments to configure their behavior and to refine their appearance. These shortcodes share many of these arguments with an underlying partial. Hinode uses a standardized approach to validate and initialize these arguments. All arguments are formally defined in a separate data structure file. Hinode uses the {{< abbr YAML >}} format by default, although several formats are supported. The partial `utilities/InitArgs.html` (provided by the {{< link "repository_mod_utils" >}}mod-utils module{{< /link >}}) then uses this specification to validate all arguments.
Copy file name to clipboardExpand all lines: content/en/docs/latest/configuration/fonts.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ themeFontPath = "/fonts"
33
33
34
34
The font files are retrieved from the folder `static/fonts`. The {{< link webfonts_helper >}}google-webfonts-helper{{< /link >}} from Mario Ranftl is a helpful tool to download the correct font files. It also generates the proper font-face definitions. Copy the definitions to the `assets/scss/theme/fonts.scss` file and download the font files themselves to the `static/fonts` folder.
35
35
36
-
{{< release version="0.23.0-beta" >}}
36
+
{{< release version="0.23.0" >}}
37
37
38
38
You can preload the font to improve loading speed. Select the primary font that is used above the page fold. In the next example, we select the `Inter regular` font of type `woff2` to preload. Hinode uses the font file extension to determine the font type automatically.
Copy file name to clipboardExpand all lines: content/en/docs/latest/configuration/layout.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ layout: docs
6
6
---
7
7
8
8
> [!IMPORTANT]
9
-
> The page rendering is being revised. The documentation on this page is still to be updated. Visit this [GitHub issue](https://github.com/gethinode/hinode/issues/1430#issuecomment-2988697852) for more information.
9
+
> The page rendering has been revised in Hinode {{< release version="v1.0.0" short="true" link-type="link" >}}. The documentation on this page is still to be updated. Visit this [GitHub issue](https://github.com/gethinode/hinode/issues/1430#issuecomment-2988697852) for more information.
10
10
11
11
Hinode uses Bootstrap's {{< link bs_grid >}}grid system{{< /link >}} and {{< link bs_breakpoints >}}breakpoints{{< /link >}} to create a responsive layout across devices or viewport sizes. All pages follow the same base layout, which includes headers and footers. The next paragraphs explain the layout styles in more detail.
12
12
@@ -380,7 +380,7 @@ The below configuration shows the default configuration set in `config/_default/
380
380
## Page sections
381
381
382
382
> [!IMPORTANT]
383
-
> Page sections are no longer supported as of Hinode {{< release version="v1.0.0-beta3" short="true" link-type="link" >}}.
383
+
> Page sections are no longer supported as of Hinode {{< release version="v1.0.0" short="true" link-type="link" >}}.
384
384
385
385
Both the home page and the list page use one or more page sections to display a sorted list of items. The lists can contain either [regular pages or page snippets]({{% relref "content-organization" %}}). The next paragraphs describe the three available layout types.
Copy file name to clipboardExpand all lines: content/en/docs/latest/getting-started/upgrading.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,12 +5,12 @@ date: 2025-06-23
5
5
layout: docs
6
6
---
7
7
8
-
{{< release version="v1.0.0-beta4" >}}
8
+
{{< release version="v1.0.0" >}}
9
9
10
10
> [!NOTE]
11
11
> Upgrading to the modules introduced in Hinode v0.16? Check out [this page](upgrading-modules) instead.
12
12
13
-
Hinode v1 introduced a new approach to reusable page elements. It now also support the revised template system introduced by [Hugo v0.146.0](https://github.com/gohugoio/hugo/releases/tag/v0.146.0). This release of Hinode is a breaking change with all `0.x` releases. Review the core changes below on how to upgrade your existing site to the latest Hinode version. Please use [GitHub discussions](https://github.com/gethinode/hinode/discussions/1431) when encountering any challenges, or use the [issue tracker](https://github.com/gethinode/hinode/issues) for bug reports.
13
+
Hinode v{{< release version="v1.0.0" short="true" link-type="link" >}} introduced a new approach to reusable page elements. It now also support the revised template system introduced by [Hugo v0.146.0](https://github.com/gohugoio/hugo/releases/tag/v0.146.0). This release of Hinode is a breaking change with all `0.x` releases. Review the core changes below on how to upgrade your existing site to the latest Hinode version. Please use [GitHub discussions](https://github.com/gethinode/hinode/discussions/1431) when encountering any challenges, or use the [issue tracker](https://github.com/gethinode/hinode/issues) for bug reports.
Copy file name to clipboardExpand all lines: content/en/guides/_index.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,4 +2,26 @@
2
2
author: Mark Dumay
3
3
title: Guides
4
4
description: Check our guides to get you started.
5
+
content_blocks:
6
+
- _bookshop_name: hero
7
+
heading:
8
+
title: Guides
9
+
content: >-
10
+
Hinode provides many ready-to-use [content blocks](/docs/content-blocks) and [components](/docs/components) to quickly develop your site. With native support for [Hugo modules](https://gohugo.io/hugo-modules/), you can easily extend your site to your liking. Explore the guides to familiarize yourself with the options.
Copy file name to clipboardExpand all lines: content/en/guides/custom-appearance/index.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Customizing the appearance of your site
3
3
description: Guide on how to use custom layouts to change the appearance of the homepage, single pages, and list pages.
4
4
date: 2024-08-20
5
5
tags: ["guide", "customization"]
6
-
weight: 60
6
+
weight: 20
7
7
thumbnail:
8
8
url: img/sketching.jpg
9
9
author: Firmbee.com
@@ -13,7 +13,7 @@ thumbnail:
13
13
---
14
14
15
15
> [!IMPORTANT]
16
-
> The page rendering is being revised. The documentation on this page is still to be updated. Visit this [GitHub issue](https://github.com/gethinode/hinode/issues/1430#issuecomment-2988697852) for more information.
16
+
> The page rendering has been revised in Hinode {{< release version="v1.0.0" short="true" link-type="link" >}}. The documentation on this page is still to be updated. Visit this [GitHub issue](https://github.com/gethinode/hinode/issues/1430#issuecomment-2988697852) for more information.
Copy file name to clipboardExpand all lines: content/en/guides/editing/index.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ author: Mark Dumay
3
3
title: Creating your first site with Hinode
4
4
date: 2023-04-03
5
5
lastmod: 2024-08-18
6
-
description: Guide on how to set up your site with version control using npm, GitHub and VSCode.
6
+
description: Set up your Hinode site with version control using npm, GitHub and VSCode.
7
7
tags: ["guide", "vscode"]
8
8
weight: 10
9
9
thumbnail:
@@ -19,7 +19,7 @@ thumbnail:
19
19
> [!NOTE]
20
20
> The commands and code examples within this guide are written with macOS in mind. The commands should be transferrable to Windows and Linux too.
21
21
22
-
Hinode uses {{< link hugo >}}Hugo{{< /link >}}, a popular open-source generator, to generate a static website. Static websites do not require a database and can be [hosted virtually anywhere]({{% relref "hosting-and-deployment" %}}). In this guide, we will set up a new site using a template from GitHub. We will then edit our Markdown content with Visual Studio Code (VSCode). Lastly, we will submit our changes to the main branch.
22
+
Hinode uses {{< link hugo >}}Hugo{{< /link >}}, a popular open-source generator, to generate a static website. Static websites do not require a database and can be [hosted virtually anywhere](/docs/getting-started/hosting-and-deployment/). In this guide, we will set up a new site using a template from GitHub. We will then edit our Markdown content with Visual Studio Code (VSCode). Lastly, we will submit our changes to the main branch.
23
23
24
24
This guide requires a GitHub account to host the remote demo repository. Next, Git, Node.js and npm are required for local development and testing. The guide also uses VSCode to edit the content. Click on each of the following links to sign up and install the required software as necessary. The software packages should be compatible with Windows, macOS, and most Linux distributions.
25
25
@@ -43,7 +43,7 @@ Hinode comes in two flavors: a {{< link repository_template >}}template{{< /link
43
43
{{< img src="img/github-init-step03.png" caption="Step 3. Review the initialized repository" >}}
44
44
{{< /carousel >}}
45
45
46
-
Navigate to the {{< link repository_template >}}template repository{{< /link >}} in your browser and click on the green button `Use this template {{< fas caret-down >}}` to create a new repository. You may need to sign in to GitHub for the button to become available. Provide a meaningful name for your repository, such as `hinode-demo`. The repository's visibility can be either private or public. Public repositories can be seen by anyone, such as open-source projects. Private repositories are only visible to yourself, or to anyone you have granted access. Lastly, click on the green button `Create repository from template` to create your repository.
46
+
Navigate to the {{< link repository_template >}}template repository{{< /link >}} in your browser and click on the green button `Use this template {{< fas caret-down >}}` to create a new repository. You may need to sign in to GitHub for the button to become available. Provide a meaningful name for your repository, such as `hinode-demo`. The repository's visibility can be either private or public. Public repositories can be seen by anyone. Private repositories are only visible to yourself, or to anyone you have granted access. Lastly, click on the green button `Create repository from template` to create your repository.
47
47
48
48
### Connecting your local machine
49
49
@@ -81,7 +81,7 @@ npm install
81
81
(out)found 0 vulnerabilities
82
82
{{< /command >}}
83
83
84
-
Lastly, we will install the Hugo modules used by Hinode. Hinode supports two types of modules. **Core modules** are embedded in the main stylesheet and script bundle, ensuring they are available to all pages across the site. On the other hand, **optional modules** are only included on a page-by-page basis. For example, if your site only requires an interactive map on a few pages, you can include the Leaflet module on those pages only. This helps to reduce the size of your page assets.
84
+
Lastly, we will install the Hugo modules used by Hinode. Hinode supports two types of modules. **Core modules** are embedded in the main stylesheet and script bundle, ensuring they are available to all pages across the site. On the other hand, **optional modules** are only included on a page-by-page basis. For example, if your site only requires an [interactive map](/docs/components/map/) on a few pages, you can include the Leaflet module on those pages only. This helps to reduce the size of your page assets.
85
85
86
86
Hinode itself is also a module that is used by the Hinode template. This allows us to use the shortcodes and other components provided by Hinode, without having to worry about their implementation. We can use {{< link hugo_modules >}}Hugo's module system{{< /link >}} to update the used modules to their latest version. Run the script `mod:update` to download and install the latest version of the modules.
87
87
@@ -219,7 +219,7 @@ Check back to see the changes in your web browser. If you do not see the new pos
219
219
220
220
## Step 3 - Validating the changes
221
221
222
-
Hinode defines severals tests to validate the code adheres to [coding standards]({{% relref "contribute#coding-guidelines" %}}). Run the following command to run the tests locally. The test should confirm our code is safe to check in.
222
+
Hinode defines severals tests to validate the code adheres to [coding standards](/docs/getting-started/contribute#coding-guidelines). Run the following command to run the tests locally. The test should confirm our code is safe to check in.
223
223
224
224
{{< command prompt="hinode-demo $" >}}
225
225
npm run lint
@@ -252,13 +252,13 @@ Head over to VSCode's Source Control to view the pending changes. Click on the f
252
252
> [!TIP]
253
253
> By convention, a commit message should use the imperative mood and should be less than 150 characters in total. Review the blog from Initial Commit to see more {{< link initialcommit >}}best practices and guidelines to write good commit messages{{< /link >}}.
254
254
255
-
VSCode highlights two additional changes, one being our new post and the other a file called `hugo_stats.json`. This latter file is used by the purger to avoid required styles are removed unintentionally. Check the guide about [optimizing the user experience]({{% relref "optimization" %}}) for an elaborate deep-dive. Stage and commit these two changes too. Lastly, click on the blue button `Publish Branch` to submit the branch and its content to GitHub. For an existing branch you would push the button `Sync Changes` instead.
255
+
VSCode highlights two additional changes, one being our new post and the other a file called `hugo_stats.json`. This latter file is used by the purger to avoid required styles are removed unintentionally. Check the guide about [optimizing the user experience](optimization) for an elaborate deep-dive. Stage and commit these two changes too. Lastly, click on the blue button `Publish Branch` to submit the branch and its content to GitHub. For an existing branch you would push the button `Sync Changes` instead.
256
256
257
257
## Step 4 - Submitting a Pull Request
258
258
259
259
With your changes committed to the remote develop branch, you can now merge the changes with the main branch. Head over to your repository on GitHub to submit a Pull Request (PR). Click on the green button `New pull request` within the menu `Pull Requests` to do so. Enter a descriptive title for the PR, or confirm the default title suggested by GitHub. Click on the green button to submit the PR, which triggers GitHub to run several checks.
260
260
261
-
By default, Hinode runs a linting test and builds the web site with the latest stable (`LTS`) versions of Node.js. The linting test is the same test that ran in the [previous step]({{% relref "#step-3---validating-the-changes" %}}). The tests act as a sort of safeguard to prevent changes breaking the main repository. You can confirm the merge when all checks have passed successfully. You can then observe the commit message associated with the `content` folder when you head back to the code of the main repository.
261
+
By default, Hinode runs a linting test and builds the web site with the latest stable (`LTS`) versions of Node.js. The linting test is the same test that ran in the [previous step](#step-3---validating-the-changes). The tests act as a sort of safeguard to prevent changes breaking the main repository. You can confirm the merge when all checks have passed successfully. You can then observe the commit message associated with the `content` folder when you head back to the code of the main repository.
{{< img src="img/github-pr-step01.png" caption="Step 1. Open a pull request" >}}
@@ -271,7 +271,7 @@ By default, Hinode runs a linting test and builds the web site with the latest s
271
271
272
272
## Conclusion
273
273
274
-
You have now successfully created your initial Hinode site with version control and automated updates. You can look into the guide to {{< link "automation" >}} automate the dependency upgrades using GitHub actions{{< /link >}}. Review the [hosting and deployment options]({{% relref "hosting-and-deployment" %}}) to see various options on how to (automatically) publish your site to a hosting provider.
274
+
You have now successfully created your initial Hinode site with version control and automated updates. You can look into the guide to {{< link "automation" >}} automate the dependency upgrades using GitHub actions{{< /link >}}. Review the [hosting and deployment options](/docs/getting-started/hosting-and-deployment/) to see various options on how to (automatically) publish your site to a hosting provider.
275
275
276
-
[^1]: Refer to the [installation instructions]({{% relref "introduction" %}}) if you prefer to install Hinode as a regular Hugo theme.
276
+
[^1]: Refer to the [installation instructions](/docs/getting-started/introduction/) if you prefer to install Hinode as a regular Hugo theme.
277
277
[^2]: By default macOS synchronizes your `~/Documents` folder with iCloud. Unfortunately this interferes with npm and could lead to all kinds of synchronization issues. You can better select a folder that is **not** synchronized with iCloud and let git handle your version control.
0 commit comments