Welcome to mirror list, hosted at ThFree Co, Russian Federation.

README.md « instantpage - github.com/gohugoio/hugo-mod-jslibs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1cb539ca06384fac16cdf6309920edd743585e24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
## Installation

First, add the module import to your site or theme component's configuration's module section:

```toml
[module]
[[imports]]
path = "github.com/gohugoio/hugo-mod-jslibs/instantpage"
```

Then add the script source before the end body tag:


```html
<body>
...
{{ partialCached "jslibs/instantpage/script-src.html" "-" }}
</body>
```

See the [instant.page](https://instant.page/) documentation for configuration.