Hugo-theme-zzo: add button shortcode feature

Created on 1 Feb 2020  路  8Comments  路  Source: zzossig/hugo-theme-zzo

the theme could be better if it has a button shortcode feature, something like this:
https://learn.netlify.com/en/shortcodes/button/

enhancement

Most helpful comment

yes it's great thanks

All 8 comments

What would you do with the buttons?
Do you want to use it for the external link?

yes

ok great I tested this feature and added this shortcode to my post
{{< button href="https://google.com" >}}download{{< /button >}}
but doesn't appear any button
image

Can you try this?
{{< button href="https://google.com" color="primary">}}download{{< /button >}}
Did you update the theme?

Try force refresh the browser
ctrl + shift + r

Can you try this?

yes I tried and it works great thanks :1st_place_medal:

Did you update the theme?

yes I updated

Try force refresh the browser

also, I tried this trick and it works too :+1:
it was my mistake sorry

great!
So, the button is as you expected one?
Can we close this issue now?

yes it's great thanks

Was this page helpful?
0 / 5 - 0 ratings