./witch.sh terraform _________________________________________
| <% pages = sitemap.resources.find_all{|p| p.source_file.match(/\.html/) } %> | |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> | |
| <% pages.each do |p| %> | |
| <url> | |
| <loc>http://youdomain.com/<%=p.destination_path.gsub('/index.html','')%></loc> | |
| <priority>0.7</priority> | |
| </url> | |
| <% end %> | |
| </urlset> |
| # Place this file in ~/.guard.rb and restart your guard process(es) | |
| # to ignore emacs backup files for all your projects | |
| ignore(/\/?\.\#/) |