🚨 GROW YOUR AUDIENCE WITH HUGOBLOX! 🚀 HugoBlox is an easy, fast no-code website builder for researchers, entrepreneurs, data scientists, and developers. Build stunning sites in minutes. 适合研究人员、企业家、数据科学家和开发者的简单快速无代码网站构建器。用拖放功能、可定制模板和内置SEO工具快速创建精美网站!
Apologies if this seems like a simple question - I'm still new to Hugo, web hosting and everything related. I'm trying to build a Hugo website through RStudio/blogdown and I want a tab on a top which leads to an image gallery on a seperate widget page.
I've created a seperate page (data_viz) for the page I would like in menus.toml in the config:
And created a new folder in \content following the advice from here .
Based on the guidance for creating an image gallery here
I also created a gallery album folder in data_viz called mygallery, which just has some stock .png and .jpeg images in it currently as I just want to test the image gallery to get it working.
In the index.md file, my code is:
+++
widget = "blank"
headless = true
active = true
# ... Put Your Section Options Here (title etc.) ...
title = "data visualisation work"
[design]
# Choose how many columns the section has. Valid values: 1 or 2.
columns = "1"
+++
Still trying to get used to this
{{< gallery album="data_viz" >}}
Which I thought would work, but in the console I get the following errors:
> blogdown:::serve_site()
Building sites … Total in 168 ms
Error: Error building site: "C:\Users\Victor\OneDrive\my_website_academic\content\data_viz\index.md:16:1": failed to extract shortcode: template for shortcode "data_viz" not found
Building sites … Total in 97 ms
Error: Error building site: "C:\Users\Victor\OneDrive\my_website_academic\content\data_viz\index.md:16:1": failed to extract shortcode: template for shortcode "data_viz" not found
The system cannot find the path specified.
Error in shell(cmd, mustWork = TRUE, intern = intern) : '"C:\Users\Victor\AppData\Roaming\Hugo\hugo.exe" -b / -D -F -d "public" --themesDir themes -t academic' execution failed with error code 1`
I'm uncertain as to why it's not working as I thought that I referenced the image gallery folder correctly. Any help is appreciated. Thanks.
Hi,
Apologies if this seems like a simple question - I'm still new to Hugo, web hosting and everything related. I'm trying to build a Hugo website through RStudio/blogdown and I want a tab on a top which leads to an image gallery on a seperate widget page.
I've created a seperate page (data_viz) for the page I would like in
menus.toml
in the config:And created a new folder in
\content
following the advice from here .Based on the guidance for creating an image gallery here
I also created a gallery album folder in
data_viz
calledmygallery
, which just has some stock .png and .jpeg images in it currently as I just want to test the image gallery to get it working.In the
index.md file
, my code is:Which I thought would work, but in the console I get the following errors:
I'm uncertain as to why it's not working as I thought that I referenced the image gallery folder correctly. Any help is appreciated. Thanks.