templ generate, add markdown syntax highlighting, fix stuff
This commit is contained in:
14
templates/pages.templ
Normal file
14
templates/pages.templ
Normal file
@@ -0,0 +1,14 @@
|
||||
package templates
|
||||
|
||||
import "git.valxntine.dev/valxntine/blog/models"
|
||||
|
||||
templ PostPageFull(post models.Post) {
|
||||
@Layout(post.Title + " - ~/valxntine/blog") {
|
||||
@Header("~/valxntine/blog", "Thoughts from the Forge")
|
||||
@Nav()
|
||||
<main>
|
||||
@PostDetail(post)
|
||||
</main>
|
||||
@Footer()
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user