Hugo

List of comprehensive tutorials for beginners (2019)

Updating this question from 2018:

I am a Hugo beginner and I am looking for tutorials on how to understand Hugo in more depth. There is a lot of great tutorials on how to get started with Hugo. But there are few comprehensive tutorials for beginners that would explain go templating language, scope (dot), how to implement variables, functions. Documentation is massive – but, in my opinion, it is not really clear for beginners to Hugo or front-end web development. I am working on a large personal website and feel really stuck with Hugo. Contemplating switching to Jekyll that has easier templating language. Any pointers will be much appreciated.

1 Like

Could you be a little more specific about the sorts of things you’d like to see explained more readily?

And, hey, don’t go to Jekyll. That’s going backward. :slight_smile:

1 Like

While geared towards blogdown, this article has links to “deep dives” that apply to general hugo as well: https://summer-of-blogdown.netlify.com/day-04/

Disclaimer: Some of them are mine.

2 Likes

As @bwintx mentioned, you list topics here, but what are actual problems that you have that you’ve been unable to solve?

2 Likes

Whole go templating is confusing. Don’t really get how the scope (dot) works; Why sometimes something needs to be capitalized? Why sometimes you need to define a variable first before doing anything? I will gladly come back with some specific problems later. I am trying to understand how to approach learning.

1 Like

thanks, I will work through this

1 Like

Yes, please do. There are many very helpful, very Go-knowledgeable members of this community who will be happy to assist, once they have a clearer idea of the specific topics for which you need more detailed help.

1 Like

This is a great article on scope, https://regisphilibert.com/blog/2018/02/hugo-the-scope-the-context-and-the-dot/#top-level-from-partial. (Actually anything from Regis is very thorough.)

3 Likes

yes, this is a gem. I already went through it. It would be great to have a link to it in the docs. It feels this information on templating language is missing from the docs.