Skip to content

hugo-fixit/shortcode-docs-bookmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

fixit-docs-bookmark

๐Ÿ”– Embed bookmark of FixIt Docs.

preview

Requirements

  • FixIt v0.3.9 or later.

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:

[module]
  [[module.imports]]
    path = "github.com/hugo-fixit/FixIt"
+ [[module.imports]]
+   path = "github.com/hugo-fixit/shortcode-docs-bookmark"

Inject Partial

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 -}}

Use Shortcode

Here is an example of usage:

{{< fixit-docs-bookmark >}}