24 lines
357 B
Plaintext
24 lines
357 B
Plaintext
|
package pages
|
||
|
|
||
|
import (
|
||
|
"git.myrkvi.com/myrkvi/bin/models"
|
||
|
"git.myrkvi.com/myrkvi/bin/views/components"
|
||
|
)
|
||
|
|
||
|
templ IndexFull() {
|
||
|
@page(
|
||
|
IndexPartial(),
|
||
|
models.DefaultMenu,
|
||
|
0,
|
||
|
"",
|
||
|
)
|
||
|
}
|
||
|
|
||
|
|
||
|
templ IndexPartial() {
|
||
|
<h2 class="text-xl">Welcome to <i>bin</i></h2>
|
||
|
<p>bin is a simple paste bin.</p>
|
||
|
<br />
|
||
|
@components.BoostButton("new", "/new")
|
||
|
|
||
|
}
|