My Command
This commit is contained in:
		
							parent
							
								
									a40e6cb3e4
								
							
						
					
					
						commit
						7fc0d44067
					
				|  | @ -17,13 +17,12 @@ func Pages.Index() | ||||||
|                 text = "About" |                 text = "About" | ||||||
|             } |             } | ||||||
|         ]; |         ]; | ||||||
|         var path = .; |  | ||||||
|    return Components.Shell("Main Page",pages,<section> |    return Components.Shell("Main Page",pages,<section> | ||||||
|    <form action="./echo" method="GET"> |    <form action="./echo" method="GET"> | ||||||
|         <input type="text" name="text" placeholder="Text to echo"> |         <input type="text" name="text" placeholder="Text to echo"> | ||||||
|         <input type="submit" value="Echo it"> |         <input type="submit" value="Echo it"> | ||||||
|    </form> |    </form> | ||||||
|    <p>{path.MakeAbsolute().ToString()}</p> |    <p>This is a website</p> | ||||||
|    <p>1 John 4:4: You, dear children, are from God and have overcome them, because the one who is in you is greater than the one who is in the world.</p> |    <p>1 John 4:4: You, dear children, are from God and have overcome them, because the one who is in you is greater than the one who is in the world.</p> | ||||||
|    </section>); |    </section>); | ||||||
| } | } | ||||||
		Loading…
	
		Reference in New Issue