🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

github.com/gethugothemes/hugo-modules/shortcodes/buttons

Package Overview
Dependencies
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/gethugothemes/hugo-modules/shortcodes/buttons

Source
Go
Version
v0.0.0-20250112030311-a0de82520a5a
Version published
Created
Source

Buttons Shortcode (DEPRECATED)

use this new version instead https://github.com/gethugothemes/hugo-modules/tree/master/shortcodes/button

Install Module

Add the following code to your module list in the config/_default/module.toml file.

[[imports]]
path = "github.com/gethugothemes/hugo-modules/shortcodes/buttons"

Shortcode Implementation

Available parameters:

  • label: button label
  • link: button link (internal or external)
  • style: button style outline/solid (default: solid)
  • class: custom class
<!-- internal link -->
{{< button label="contact" link="contact/" >}}
<!-- external link -->
{{< button label="google" link="https://google.com/" >}}

FAQs

Package last updated on 12 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts