title: hide pagination links if there is just one page in laravel
body: <p>I am using laravel 5.3. </p>
  
  <p>I know that how can paginate large data set and how to work it. </p>
  
  <p>Pagination links shown Even if just one page is require to show result. but I want to hide pagination links in this case?</p>
  
  <p>I use <code>render()</code> method to show pagination links like this :</p>
  
  <pre><code>&lt;nav id="pagination"&gt;
    {!! $posts-&gt;render() !!}
  &lt;/nav&gt;
  </code></pre>
  
  <p>Any idea?</p>