๐ Embed bookmark of FixIt Docs.
- FixIt v0.4.0 or later.
The installation method is the same as installing a theme. There are several ways to install, choose one, for example, install through Hugo Modules:
[module]
[[module.imports]]
path = "github.com/hugo-fixit/FixIt"
+ [[module.imports]]
+ path = "github.com/hugo-fixit/shortcode-docs-bookmark"In order to Inject the partial fixit-docs-bookmark.html into the custom-head through the custom block opened by the FixIt theme in the layouts/_partials/custom.html file, you need to fill in the following necessary configurations:
[params]
[params.customPartials]
# ... other partials
head = [ "inject/fixit-docs-bookmark.html" ]
# ... other partialsHere is an example of usage:
{{< fixit-docs-bookmark >}}