mirror of
				https://github.com/pawroman/zola-theme-terminimal.git
				synced 2025-10-31 08:06:15 +01:00 
			
		
		
		
	feat: Also gate on config.generate_feed
This commit is contained in:
		
							parent
							
								
									b69654d06c
								
							
						
					
					
						commit
						3d03d06460
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -48,7 +48,7 @@ | |||
|                     <!-- RSS --> | ||||
|                     {%- set is_rss = item.url == "$BASE_URL/$FEED_FILENAME" -%} | ||||
| 
 | ||||
|                     {%- if is_rss %} | ||||
|                     {%- if is_rss and config.generate_feed %} | ||||
|                         <a type="application/rss+xml" title="RSS" href="{{ get_url(path=config.feed_filename) | safe }}"> | ||||
|                             <svg width="12" height="12" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"> | ||||
|                                 <!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 vvzen
						vvzen