Brian Beach 12/11/2019

Hugo Robots Meta Tag

Read Original

This article details the author's experience configuring the robots meta tag for search engine indexing in a Hugo static site using the Ananke theme. It explains the basics of robots meta tags and robots.txt, and reveals that Hugo's production build does not automatically enable indexing. The solution involves setting the HUGO_ENV environment variable to "production" during the build process.

Hugo Robots Meta Tag

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week