Full demo
This commit is contained in:
@ -27,6 +27,11 @@ templ baseLayout(pc PageContext) {
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
if pc.User != nil {
|
||||
<p class="alert alert-warning">
|
||||
Hello, { pc.User.FirstName }
|
||||
</p>
|
||||
}
|
||||
{ children... }
|
||||
</div>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user