hugo-shortcode Questions
2
I have written a shortcode to create a bootstrap dismissable alert box. Below is my shortcode called as layouts/shortcodes/message.html.
<div class="alert alert-{{.Get 0}} alert-dismissibl...
Footlambert asked 31/7, 2020 at 20:22
2
Solved
I use Hugo to deploy static web, using Markdown and the problem I would like to sort out is simple.
I would like to find the simplest and compatible with Markdown language way to make my web links ...
Howlyn asked 28/4, 2022 at 15:33
2
How can I reuse a shortcode in Hugo within another shortcode?
I only found a way to nest shortcodes within markdown but what I want to do is to reuse a shortcode within the definition of another s...
Dichromic asked 28/3, 2019 at 15:45
4
Solved
I'm trying to use a variable within the content of a Hugo statically generated site. For example, the content looks like the following:
Go to your site's url ({{ .Site.BaseURL }})
Enter your crede...
Narcoma asked 27/10, 2015 at 16:47
2
I am using blogdown and kakawait/hugo-tranquilpeak-theme to write a plain markdown blog post. When I add images with the shortcode option tag such as
{{< image classes="fancybox right clear" s...
Picoline asked 29/9, 2017 at 12:48
1
Solved
I am trying to create a website using R Blogdown Hugo-Academic theme. Typically, I would create a website by running the following commands:
blogdown::new_site(theme = 'gcushen/hugo-academic')
blog...
Tizes asked 3/9, 2020 at 15:54
2
I want to embed a tweet with an image. When I embed a tweet on a blogdown post using shortcodes it does not appear in the twitter style
For example using the shortcode:
{{< tweet 9894708854750...
Metalline asked 1/5, 2018 at 23:34
1
Solved
I want to post an image onto my blog (yes that simple!)
My website is hosted on GitLab Pages and uses the Hugo framework (v0.23). I forked my webpage from here, https://gitlab.com/pages/hugo (thus...
Presidentelect asked 17/10, 2017 at 10:4
1
© 2022 - 2025 — McMap. All rights reserved.