fixit-docs-bookmark
🔖 Embed bookmark of FixIt Docs.

Requirements
- v2 requires FixIt v1.x
- v1 requires FixIt v0.4.x
Install Component
The installation method is the same as installing a theme. There are several ways to install, choose one, for example, install through Hugo Modules:
1
2
3
4
5
| [module]
[[module.imports]]
path = "github.com/hugo-fixit/FixIt"
+ [[module.imports]]
+ path = "github.com/hugo-fixit/shortcode-docs-bookmark/v2"
|
Configuration
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:
1
2
3
4
5
| [params]
[params.custom_partials]
# ... other partials
head = [ "inject/fixit-docs-bookmark.html" ]
# ... other partials
|
Use Shortcode
Here is an example of usage:
1
| {{< fixit-docs-bookmark >}}
|