appendix E. Answers to exercises

Chapter 1

  • Exercise 1.1: c (compiled templates)

  • Exercise 1.2: a (markup)

  • Exercise 1.3: b (a shopping website)

  • Exercise 1.4: Go (or Golang)

  • Exercise 1.5: False. You can write locally in the markup language and directly check that in to source control, or you can use admin tools like Netlify CMS.

  • Exercise 1.6: Markup

Chapter 2

  • Exercise 2.1: d (all of the above)

  • Exercise 2.2: c (content)

  • Exercise 2.3: 1 (YAML) and d (config); 2 (Markdown) and c (content); 3 (PDF) and b (static); 4 (HTML) and e (themes); 5 (CSS) and a (assets)

  • Exercise 2.4: 1313

  • Exercise 2.5: hugo serve or hugo server

  • Exercise 2.6: a (baseURL)

  • Exercise 2.7: b (index)

  • Exercise 2.8: c (compare performance across multiple ...

Get Hugo in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.