My Command

This commit is contained in:
Mike Nolan 2025-07-03 14:44:51 -05:00
parent a40e6cb3e4
commit 7fc0d44067
1 changed files with 1 additions and 2 deletions

View File

@ -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>);
} }