Skip to content

hugo-fixit/shortcode-docs-bookmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

9 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

fixit-docs-bookmark

๐Ÿ”– Embed bookmark of FixIt Docs.

preview

Requirements

  • FixIt v0.4.0 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"

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:

[params]
  [params.customPartials]
    # ... other partials
    head = [ "inject/fixit-docs-bookmark.html" ]
    # ... other partials

Use Shortcode

Here is an example of usage:

{{< fixit-docs-bookmark >}}

Sponsor this project

Packages

No packages published