Skip to content

vincentritter/plugin-shoutouts-on-mb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shoutouts.lol embed on Micro.blog

shoutouts.lol embed on Micro.blog

Shortcodes

Adds your shoutouts.lol embed script tag using the Hugo shortcode {{< shoutouts >}} within your content. If you want to pass in a custom theme, you can do so by passing in the theme parameter, for example {{< shoutouts theme="38" >}}.

There is also the option to bring back just one specific shoutout, for example {{< shoutouts theme="38" shoutout="34" >}}. This is useful if you want to highlight a specific shoutout. You can omit the theme parameter if you want to use the default theme.

Partials

To embed it into your template files, for example into the footer, you can import the shoutouts embed partial using {{ partial "shoutouts/embed.html" (dict "context" . ) }}.

If you want to pass in a custom theme, you can do so by passing in the theme parameter, for example {{ partial "shoutouts/embed.html" (dict "context" . "theme" "38") }}.

There is also the option to bring back just one specific shoutout, for example {{ partial "shoutouts/embed.html" (dict "context" . "theme" "38" "shoutout" "34") }}. This is useful if you want to highlight a specific shoutout. You can omit the theme parameter if you want to use the default theme.

shoutouts.lol

You need to have a shoutouts.lol account to use this plugin. If you don't have one yet, you can create one here: shoutouts.lol.

Once registered you can find your embed code at the top of the embed page: shoutouts.lol/embed.

To create extra themes, head on over to the theme section: shoutouts.lol/themes.

Extras

This plugin was created by me and you can you can see it in use on my social page: social.vincentritter.com.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages