mirror of
				https://gitea.invidious.io/iv-org/shard-kemal.git
				synced 2024-08-15 00:53:36 +00:00 
			
		
		
		
	content_for failing
This commit is contained in:
		
							parent
							
								
									1d54971efa
								
							
						
					
					
						commit
						7d6c546a49
					
				
					 4 changed files with 12 additions and 8 deletions
				
			
		|  | @ -1,5 +1,5 @@ | |||
| Hello <%= name %> | ||||
| 
 | ||||
| <% content_for "custom" do %> | ||||
| 	<h1>Hello from otherside</h1> | ||||
| <% content_for "meta" do %> | ||||
| <title>Kemal Spec</title> | ||||
| <% end %> | ||||
|  | @ -1,6 +1,8 @@ | |||
| <html> | ||||
| 	<head> | ||||
| 		<%= yield_content "meta" %> | ||||
| 	</head> | ||||
| 	<body> | ||||
| 		<%= content %> | ||||
| 		<%= yield_content "custom" %> | ||||
| 	</body> | ||||
| </html> | ||||
|  | @ -1,8 +1,10 @@ | |||
| <html> | ||||
| 	<head> | ||||
| 		<%= yield_content "meta" %> | ||||
| 	</head> | ||||
| 	<body> | ||||
| 		<%= content %> | ||||
| 		<%= yield_content "custom" %> | ||||
|     <%= var1 %> | ||||
|     <%= var2 %> | ||||
|     	<%= var1 %> | ||||
|     	<%= var2 %> | ||||
| 	</body> | ||||
| </html> | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue