Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
title: Digital Asset Managers
description: Configure Digital Asset Managers to delegate the transformation of images
date: 2024-05-30
date: 2024-06-03
layout: docs
modules: katex
---

{{< release version="v0.24.0-beta2 " >}}
{{< release version="v0.24.0 " >}}

Hinodes uses Hugo’s {{< link "../content/images-and-figures" >}}image processing{{< /link>}} to preprocess images on the server side. Hugo uses caching to reduce the build time. Despite the caching techniques, the image processing can take significant time, especially on larger sites. An alternative approach is to use a dedicated Digital Asset Manager. Most managers offer an API to transform images on the fly. The following paragraphs explain how to enable these Digital Asset Managers.

Expand Down Expand Up @@ -89,7 +89,7 @@ $}
\texttt{dir/filename.jpg}
```

Adjust your CDN configuration in the site's paramters to include the hostname, account, and container of your origin server. Next, set `rewrite = true` to trigger the adapter to rewrite your origin URL:
Adjust your CDN configuration in the site's parameters to include the hostname, account, and container of your origin server. Next, set `rewrite = true` to trigger the adapter to rewrite your origin URL:

```toml
[images]
Expand Down
6 changes: 3 additions & 3 deletions content/en/docs/latest/configuration/modules.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Modules
description: Customize and extend Hinode with Hugo modules.
date: 2024-05-24
date: 2024-06-03
layout: docs
---

Expand All @@ -25,7 +25,7 @@ The main repository of Hinode imports the following modules by default.
## Configuring modules

{{< alert >}}
**New in v0.24.0-beta2** - Hinode uses the default configuration of each referenced module. You can still override these settings in your site parameters.
**New in v0.24.0** - Hinode uses the default configuration of each referenced module. You can still override these settings in your site parameters.
{{< /alert >}}

You can choose to either fully integrate compatible modules or to include them on a page-by-page basis. For example, you might only want to display an interactive map on a few pages. In this case, you could choose to include the `leaflet` module on an opt-in basis. This ensures the page size is minimized. On the other hand, as `bootstrap` is used on every single page, it makes sense to include it as a core module.
Expand All @@ -41,7 +41,7 @@ Hugo uses two different algorithms to merge the filesystems, depending on the fi

Adjust the `modules` section in your site's parameter configuration file `config/_default/params.toml` to configure the various modules. Modules can include files for each of the following folders: `archetypes`, `assets`, `content`, `data`, `i18n`, `layouts`, `static`. Modules can also have their own configuration files. Each module needs to be imported as well ([see the previous paragraph]({{< relref "#configuring-modules" >}})).

{{< release version="v0.24.0-beta2" >}}
{{< release version="v0.24.0" >}}

The following table provides an overview of the available settings for each module. Omit the `mod-` prefix of the module's name.

Expand Down
13 changes: 13 additions & 0 deletions data/releases.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
# This file holds all entries for the release timeline


- title: Digital Asset Managers
icon: fa image
color: primary
date: 2024-06-03
badge: v0.24.0
url: v0.24.0
content:
Hinodes uses Hugo’s image processing to preprocess images on the server side. Hugo uses caching to reduce the build
time. Despite the caching techniques, the image processing can take significant time, especially on larger sites.
An alternative approach is to use a dedicated Digital Asset Manager. Most managers offer an API to transform images
on the fly. This release introduces support for several {{< link "docs/configuration/digital-asset-managers" />}},
including Cloudinary, ImageKit.io, and Imgix. The required adapters are configurable.

- title: Maintenance
icon: fas screwdriver-wrench
color: info
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.20

require (
github.com/airbnb/lottie-web v5.12.2+incompatible // indirect
github.com/gethinode/hinode v0.24.0-beta9 // indirect
github.com/gethinode/hinode v0.24.0 // indirect
github.com/gethinode/mod-bootstrap v1.3.0 // indirect
github.com/gethinode/mod-flexsearch v1.12.0 // indirect
github.com/gethinode/mod-fontawesome v1.9.0 // indirect
Expand Down
6 changes: 4 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,8 @@ github.com/gethinode/hinode v0.24.0-beta8 h1:pn9YlCum0ounDaCngMInNCY+d2KaVMUJkpE
github.com/gethinode/hinode v0.24.0-beta8/go.mod h1:vqVpjzVwOJVZSqpKTiS+8l8uR/rhVMqMxZqpPMSkM4E=
github.com/gethinode/hinode v0.24.0-beta9 h1:b/1wkqVtbglZ5hqfnQPEs9z1oF/iZm+57tg4e7BDv0U=
github.com/gethinode/hinode v0.24.0-beta9/go.mod h1:vqVpjzVwOJVZSqpKTiS+8l8uR/rhVMqMxZqpPMSkM4E=
github.com/gethinode/hinode v0.24.0 h1:4OqbBJXlsatxTF5CJBykgpX9q4KEzMLAAq9aCVxV0qs=
github.com/gethinode/hinode v0.24.0/go.mod h1:vqVpjzVwOJVZSqpKTiS+8l8uR/rhVMqMxZqpPMSkM4E=
github.com/gethinode/mod-bootstrap v1.1.0 h1:BbalsW8kmFhv+J+dcc41TGcjIlM/p69AB0h0oGhAXIU=
github.com/gethinode/mod-bootstrap v1.1.0/go.mod h1:DcpPc2cNaXUPGEvhD7npuEEPA7573NvakTlrwFbyjr8=
github.com/gethinode/mod-bootstrap v1.1.1 h1:Tx4M5hGVOFrEaxnUONDAm6N9xuRi5UphKlT7F26HujU=
Expand Down Expand Up @@ -366,10 +368,10 @@ github.com/gethinode/mod-lottie v1.4.7 h1:5Hes0xY/l8ygzJ8YQIzdqCmvGrDQs8D8qZ/vR1
github.com/gethinode/mod-lottie v1.4.7/go.mod h1:FvcG3NjXOBOnwou0QvXYNPHpybxwT6yxmSh4N+nBD9s=
github.com/gethinode/mod-lottie v1.5.0 h1:LwEEY+p+sPrN01yz7GyVOsF5lZ4qMln69+gAxJs1DDA=
github.com/gethinode/mod-lottie v1.5.0/go.mod h1:FvcG3NjXOBOnwou0QvXYNPHpybxwT6yxmSh4N+nBD9s=
github.com/gethinode/mod-lottie v1.5.3 h1:fvCjCoZoCEhY2aou30oEsEo6N4tVSI0ijFyXS3wNib0=
github.com/gethinode/mod-lottie v1.5.3/go.mod h1:XHVMuPsuJIm9/Eb2ql4jsT49/BQqMlBiirQoty4uHAo=
github.com/gethinode/mod-lottie v1.5.1 h1:84ZmOTKJH75wsd/YjPaaBRkTeLnmRROv9iFlQVMC+jA=
github.com/gethinode/mod-lottie v1.5.1/go.mod h1:z0Q6EADM7pN7gmhCzDx2VR4uG5mxn9qbsphtxjIkssY=
github.com/gethinode/mod-lottie v1.5.3 h1:fvCjCoZoCEhY2aou30oEsEo6N4tVSI0ijFyXS3wNib0=
github.com/gethinode/mod-lottie v1.5.3/go.mod h1:XHVMuPsuJIm9/Eb2ql4jsT49/BQqMlBiirQoty4uHAo=
github.com/gethinode/mod-utils v1.0.0 h1:cqHm2xS5uDiJzRm1KfHaNbq6uMVDKLhQa8/BuTZ1nhY=
github.com/gethinode/mod-utils v1.0.0/go.mod h1:ONJm3pHCq7nvaPNjusLZNCeCbhOhSBH4HVKHwK1FdYE=
github.com/gethinode/mod-utils v1.0.1 h1:jhZGlGFHHL1f5HXbBMXfiZ2gCz4TVafAzjnRPTIBSEE=
Expand Down
23 changes: 12 additions & 11 deletions hugo_stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"img",
"input",
"kbd",
"label",
"li",
"link",
"mark",
Expand Down Expand Up @@ -84,6 +85,7 @@
"align-self-center",
"anchor",
"badge",
"ball",
"bg-black",
"bg-body",
"bg-body-tertiary",
Expand Down Expand Up @@ -169,6 +171,7 @@
"carousel-indicators",
"carousel-inner",
"carousel-item",
"checkbox",
"chroma",
"col",
"col-10",
Expand Down Expand Up @@ -213,7 +216,6 @@
"d-none-dark",
"d-none-light",
"d-sm-block",
"d-sm-none",
"disabled",
"display-1",
"display-2",
Expand All @@ -224,7 +226,6 @@
"dropdown",
"dropdown-item",
"dropdown-menu",
"dropdown-menu-end",
"dropdown-toggle",
"emphasis",
"emphasis-dark",
Expand Down Expand Up @@ -425,6 +426,7 @@
"justify-content-end",
"justify-content-evenly",
"justify-content-start",
"label",
"lead",
"leaflet-map",
"link-bg-black",
Expand Down Expand Up @@ -466,6 +468,7 @@
"me-auto",
"middle-bar",
"min-vh-100",
"mode-switch",
"ms-1",
"ms-3",
"ms-auto",
Expand Down Expand Up @@ -532,6 +535,7 @@
"navbar-expand-md",
"navbar-expand-sm",
"navbar-fixed-top",
"navbar-mode-selector",
"navbar-nav",
"navbar-nav-scroll",
"navbar-title",
Expand Down Expand Up @@ -633,7 +637,6 @@
"sticky-top",
"stretched-link",
"svg-inline--fa",
"switch-mode-collapsed",
"syntax-highlight",
"tab-content",
"tab-pane",
Expand Down Expand Up @@ -685,8 +688,6 @@
"text-uppercase",
"text-warning",
"text-white",
"theme-icon",
"theme-icon-active",
"tickmark",
"timeline",
"timeline-bg-dark",
Expand Down Expand Up @@ -727,8 +728,6 @@
"youtube-embedded"
],
"ids": [
"-theme",
"-theme-collapsed",
"TableOfContents",
"abbreviations",
"absolute-sizing",
Expand Down Expand Up @@ -1206,9 +1205,9 @@
"nav-users-btn-1",
"nav-users-btn-2",
"navbar-0-collapse",
"navbar-collapse-6",
"navbar-collapse-6-checkbox",
"navbar-collapse-6-collapse",
"navbar-collapse-6-theme",
"navbar-collapse-6-theme-collapsed",
"navbar-color-1-collapse",
"navbar-color-10-collapse",
"navbar-color-2-collapse",
Expand All @@ -1220,10 +1219,12 @@
"navbar-color-8-collapse",
"navbar-color-9-collapse",
"navbar-logo-collapse",
"navbar-mode",
"navbar-mode-1",
"navbar-mode-1-checkbox",
"navbar-mode-1-collapse",
"navbar-mode-1-theme",
"navbar-mode-1-theme-collapsed",
"navbar-mode-2-collapse",
"navbar-mode-checkbox",
"navbar-overview-collapse",
"navbar-search-1-collapse",
"navbar-search-2-collapse",
Expand Down