title: How to replace offset and max with page number in grails paginate tag?
body: <p>Grails Paginate tag generates links with max and offset params. Example</p>
  
  <pre><code>/?max=30&amp;offset=0
  /?max=30&amp;offset=30
  </code></pre>
  
  <p>Say we have constant max equals 30.</p>
  
  <p>Is there any possibility to make it generate page numbers instead?</p>
  
  <pre><code>/?page=1
  /?page=2
  </code></pre>