init
This commit is contained in:
		
						commit
						d013ece0f3
					
				
					 363 changed files with 20823 additions and 0 deletions
				
			
		
							
								
								
									
										10
									
								
								themes/duckquill/templates/partials/card.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								themes/duckquill/templates/partials/card.html
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,10 @@
 | 
			
		|||
{%- if page.extra.card -%}
 | 
			
		||||
	{{ get_url(path=page.colocated_path ~ page.extra.card) }}
 | 
			
		||||
{%- elif section.extra.card -%}
 | 
			
		||||
	{{ get_url(path=section.colocated_path ~ section.extra.card) }}
 | 
			
		||||
{%- elif page.extra.banner -%}
 | 
			
		||||
	{%- set card = resize_image(path=page.colocated_path ~ page.extra.banner, width=1200, height=628, op="fill") -%}
 | 
			
		||||
	{{ card.url }}
 | 
			
		||||
{%- else -%}
 | 
			
		||||
	{{ get_url(path="card.png") }}
 | 
			
		||||
{%- endif -%}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue