Move p5_sketch_container to p5_sketch
It now takes an id parameter.
This commit is contained in:
		
							parent
							
								
									2e2afbdd44
								
							
						
					
					
						commit
						c068a0b9c0
					
				
					 2 changed files with 2 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								layouts/shortcodes/p5_sketch.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								layouts/shortcodes/p5_sketch.html
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,2 @@
 | 
			
		|||
{{ $id := .Get "id" }}
 | 
			
		||||
<div class="sketch-container" id="{{ $id }}"></div>
 | 
			
		||||
| 
						 | 
				
			
			@ -1 +0,0 @@
 | 
			
		|||
<div class="sketch-container"></div>
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue