Revert change to Collection#url_template which caused test breakage.
Reverts dab53a697b
			
			
This commit is contained in:
		
							parent
							
								
									3061f2d204
								
							
						
					
					
						commit
						a1b39840bb
					
				| 
						 | 
				
			
			@ -186,7 +186,9 @@ module Jekyll
 | 
			
		|||
    #
 | 
			
		||||
    # Returns the URL template to render collection's documents at.
 | 
			
		||||
    def url_template
 | 
			
		||||
      metadata['permalink'] ||= Utils.add_permalink_suffix("/:collection/:path", site.permalink_style)
 | 
			
		||||
      @url_template ||= metadata.fetch('permalink') do
 | 
			
		||||
        Utils.add_permalink_suffix("/:collection/:path", site.permalink_style)
 | 
			
		||||
      end
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
    # Extract options for this collection from the site configuration.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue