Add IndexNow Key

to run in your site's root directory

View template source
key = SecureRandom.hex

file "public/#{key}.txt", <<-KEY
#{key}
KEY

say "------\n    👉 Use this Helptail workflow to automatically ping IndexNow when new content is detected: https://helptail.com/tails/article-to-indexnow/\n  ------"

This snippet adds a verification file to your site's public folder to support the IndexNow protocol, using the key for both the filename and its content, fulfilling the IndexNow requirements automatically.

Use this Helptail workflow to automatically ping IndexNow when new content is detected.