๐ Embed bookmark of FixIt Docs.
- FixIt v0.3.9 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"
Inject the fixit-docs-bookmark.html
into the custom-head
through the custom block opened by the FixIt theme in the layouts/partials/custom.html
file:
{{- define "custom-head" -}}
{{- partial "inject/fixit-docs-bookmark.html" . -}}
{{- end -}}
Here is an example of usage:
{{< fixit-docs-bookmark >}}