hugo Questions

6

Solved

I am using Hugo to generate a static site. Where should I put my favicon.ico file?
Haiku asked 4/2, 2017 at 17:59

3

Solved

Using hugo, I am trying to make a webpage with a collapsible section . In html, this would be done in the following way: <details> <summary>Click to expand!</summary> Hidd...
Sension asked 31/3, 2022 at 10:52

5

Solved

I have downloaded and unzipped the hugo_0.11_linux_amd64.tar.gz file from the releases page, and I cannot figure out how to run the binary. I took a few stabs at using go run, and sh, but no luck. ...
Struthious asked 31/8, 2014 at 18:29

3

Solved

Tags and categories are taxonomies that are automatically created by Hugo. I do not understand what the difference is between tags and categories (besides their names). Also, do categories have the...
Pollaiuolo asked 29/11, 2021 at 4:26

4

Solved

How do I comment out content in Hugo? If I have notes, unfinished thoughts, I'd like to leave them in the .md file but not have them appear in the html. <!-- tags don't seem to work -- it do...
Inhabitant asked 20/7, 2017 at 20:39

4

Solved

Recently the re-development of a web site was given to me. The re-worked site is to be done in Markdown and run through the Hugo static site generator. Is there a way to include other files in a M...
Ostracize asked 16/9, 2016 at 20:43

1

I am trying to create a ul list of the sections of my hugo site and their child pages that have a specific param. I basically want a multi-level ul menu at the side like so: Intro Page 1 Page ...
Prothallus asked 20/10, 2017 at 11:49

6

Solved

I recently imported content from my WordPress page into Hugo. When I run hugo serve I get following error messages: WARN 2020/02/17 20:51:06 found no layout file for "HTML" for "page": You should ...
Hower asked 17/2, 2020 at 20:6

20

Solved

I'm running a static blogdown site and deploy it on Netlify. I source files on GitHub, Hugo builds the site, and Netlify deploys it. Netlify reports that the site is live (deploy log enclosed at th...
Kutaisi asked 8/6, 2018 at 2:0

4

Solved

I am looking for ways to make some of the posts on my blog visible only to myself but can't seem to this in Hugo. Is there any way around this such as setting a password for certain posts? Or is ...
Tollefson asked 31/7, 2016 at 0:17

6

I would like to build a Hugo site that can be: password protected (specific pages, not the entire site) be hosted with a private repo that is free or very low cost can be edited using a CMS inter...
Lahomalahore asked 24/3, 2018 at 21:47

6

Solved

I am trying to create a site with Hugo, but I don't get how to add a single page to my website (posts are working fine). Starting from a fresh install (v.0.27 64x for windows) and running the foll...
Understood asked 14/9, 2017 at 10:11

3

I am using this command to run a hugo project in my MacBook Pro with M1 chip: hugo new site example cd example hugo server the output log like this: ➜ example hugo server Start building sites … hu...
Romonaromonda asked 27/3, 2022 at 7:55

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

3

Here is my repository on my Hugo blog: I'd like to insert an image to a post with the following text: ![Scenario 1: Across columns](content/post/image/across_column.png) However, it does not come...
Merrell asked 16/3, 2022 at 16:57

4

How can I have /posts as homepage? Should I redirect, change the baseURL in hugo 1config or make changes in the theme 2config? Footnotes 1 https://gohugo.io/getting-started/configuration/ 2 htt...
Will asked 5/5, 2019 at 9:30

2

Solved

I am new to Hugo, and I've been trying for over 30 minutes to get a class on a paragraph, but it isn't having it. I am using TailwindCSS and I need to add some css classes to the paragraph tag. COD...
Hydrogeology asked 16/11, 2022 at 23:31

6

I am trying to resize an image in Hugo (not using HTML / CSS), which is apparently available in the v 0.32 update. Beneath the "Image Processing" heading at the link in the last sentence, the follo...
Gwenngwenneth asked 2/1, 2018 at 14:50

5

Solved

I'm trying to take a stab at a new site using Hugo, and I am stuck during installation. I've installed Homebrew and when running the version, I get the following: ~ % brew --version Homebrew 2.7.2 ...
Amr asked 7/1, 2021 at 0:57

2

Solved

I read this post and the blogdown documentation, but I can't seem to find a relevant answer for my case. EDIT: I found this blog post describing a workaround using build_site(method="custom&qu...
Thebaine asked 22/6, 2020 at 6:48

3

Solved

1. An amount between $5 and $10. 2. An amount between \$5 and \$10. 3. An amount between \\$5 and \\$10. Please include the code chunk above in a blogdown .Rmd file, and make sure your Hugo th...
Misesteem asked 15/7, 2020 at 13:19

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

I want to change hugo's post image. +++ title = "how to read the book" draft = false date = "2017-01-25T21:39:26-06:00" image = "book.jpg" +++ Hello World. New Book Review. I put book.jpg under...
Omdurman asked 30/1, 2017 at 14:42

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

2

Using Hugo Quickstart, I was able to up and running set up a blog and even wrote a post. When I run either hugo server -D or hugo server -D --watch --verbose I can see my post on localhost. But whe...
Dialectical asked 22/8, 2018 at 20:12

© 2022 - 2024 — McMap. All rights reserved.