How to not describe priority, lastmod, changefreq in gem sitemap_generator

Overview

In sitemap_generator, the default values are listed in priority, lastmod, and changefreq by default. Sometimes I don't want to output these items, so I'll share how.

Method

If you pass nil to priority, lastmod, changefreq, it will not be output.

add '/home', priority: nil, lastmod: nil, changefreq: nil

Recommended Posts

How to not describe priority, lastmod, changefreq in gem sitemap_generator
How to use Priority Queuing
How to deal with 405 Method Not Allowed error in Tomcat + JSP
How to find May'n in XPath
How to hide scrollbars in WebView
How to run JUnit in Eclipse
[Rails] How to write in Japanese
How to run Ant in Gradle
How to learn JAVA in 7 days
How to get parameters in Spark
How to install Bootstrap in Ruby
How to use InjectorHolder in OpenAM
How to introduce jQuery in Rails 6
How to use classes in Java?
How to name variables in Java
How to set Lombok in Eclipse
How to concatenate strings in java
How to install Swiper in Rails
How to implement gem "summer note" in wysiwyg editor in Ruby on Rails
How to constrain the action of the transition destination when not logged in
How to not start Flyway when running unit tests in Spring Boot
[swift5] How to specify color in hexadecimal
How to implement search functionality in Rails
How to implement date calculation in Java
How to implement Kalman filter in Java
Multilingual Locale in Java How to use Locale
How to change app name in rails
How to get date data in Ruby
How to use custom helpers in rails
How to reflect seeds.rb in production environment
How to use named volume in docker-compose.yml
How to filter JUnit Test in Gradle
How to insert a video in Rails
How to standardize header footer in Thymeleaf
How to include Spring Tool in Eclipse 4.6.3?
How to add jar file in ScalaIDE
How to do base conversion in Java
[Swift] How to fix Label in UIPickerView
How to have params in link_to method
How to use Docker in VSCode DevContainer
How to use MySQL in Rails tutorial
How to fix system date in JUnit
How to implement coding conventions in Java
How to embed Janus Graph in Java
[rails] How to configure routing in resources
How to map tsrange type in Hibernate
How to get the date in java
How to implement ranking functionality in Rails
How to use environment variables in RubyOnRails
How to implement asynchronous processing in Outsystems
How to publish a library in jCenter
How to specify id attribute in JSF
Understand in 5 minutes !! How to use Docker
How to overwrite Firebase data in Swift
How to use credentials.yml.enc introduced in Rails 5.2
How to assemble JSON directly in Jackson
How to execute multiple commands in docker-compose.yml
[For beginners] How to debug in Eclipse
How to use ExpandableListView in Android Studio
How to display error messages in Japanese
How to check the latest version of io.spring.platform to describe in pom.xml of Spring (STS)