Skip to content

Hugo shortcodes for supporter pages: Patreon and Buy Me A Coffee

License

Notifications You must be signed in to change notification settings

Danesz/hugo-supporter-shortcodes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

hugo-supporter-shortcodes

Hugo shortcodes for supporter pages: Patreon and Buy Me A Coffee

Setup

Copy the files to your into you Hugo project. (to the path where they are located in this repo: layouts/shortcodes/ )

How to use

In your Markdown post you can do:

Patreon

{{< patreon user="37212546" color="#2ecc71" title="Become a Patron" >}}
  • user: When you create a Patreon button here, you get a URL inside the widget: https://www.patreon.com/bePatron?u=37212546. The ID (numbers) after the u= parameter is the user .

  • color: The color of the Patreon button (background).

  • title: The text on the button.

Buy Me A Coffee

{{< buymeacoffee user="tweakedtech" color="#2ecc71" title="Buy me a coffee" >}}
  • user: On the Dashboard you can see your own personal URL, something like this: https://www.buymeacoffee.com/tweakedtech. tweakedtech is the user in this case

  • color: The color of the Patreon button (background).

  • title: The text on the button.

Example

https://danieldallos.com/posts/2020/07/how-i-built-6-1-apps-in-one-day/

About

Hugo shortcodes for supporter pages: Patreon and Buy Me A Coffee

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages