DESIGN SYSTEM

  • Principles
  • Components
  • Documentation

What's on this Page

    • I can’t see my content!
    • Can I set configuration variables via OS environment?
    • How do I schedule posts?
    • Can I use the latest Hugo version on Netlify?
TROUBLESHOOTING

Frequently Asked Questions

Solutions to some common Hugo problems.

Note: The answers/solutions presented below are short, and may not be note be enough to solve your problem. Visit Hugo Discourse and use the search. It that does not help, start a new topic and ask your questions.

I can’t see my content!

Is your markdown file in draft mode? When testing, run hugo server with the -D or --buildDrafts switch.

Can I set configuration variables via OS environment?

Yes you can! See Configure with Environment Variables.

How do I schedule posts?

  1. Set publishDate in the page Front Matter to a date in the future.
  2. Build and publish at intervals.

How to automate the “publish at intervals” part depends on your situation:

  • If you deploy from your own PC/server, you can automate with Cron or similar.
  • If your site is hosted on a service similar to Netlify you can use a service such as ifttt to schedule the updates.

Also see this Twitter thread:

@GoHugoIO Converted https://t.co/icCzS7Ha7q from @Medium to Hugo yesterday. Once I figure out how to do scheduled posts I will be ecstatic.

— Chris Short (@ChrisShort) February 10, 2018

Can I use the latest Hugo version on Netlify?

Yes you can! Read this.

  • Foundation styles (FS)
  • Content text (CT)
  • Buttons and links (BL)
  • Form elements (FE)
  • Icons (IC)
  • Miscellaneous (MS)
“Frequently Asked Questions” was last updated: January 29, 2019: A little bit of naming reorganisation (8fb631a0)
Improve this page
By the Hugo Authors
Hugo Logo
  • File an Issue
  • Get Help
  • Discuss Source Code
  • @GoHugoIO
  • @spf13
  • @bepsays

 
  Hugo Sponsors
Logo for Forestry.io
Logo for Linode
Logo for eSolia
 

The Hugo logos are copyright © Steve Francia 2013–2019.

The Hugo Gopher is based on an original work by Renée French.

  • Principles
  • Components
  • Documentation
  • Foundation styles (FS)
  • Content text (CT)
  • Buttons and links (BL)
  • Form elements (FE)
  • Icons (IC)
  • Miscellaneous (MS)