Import strings in templ view for format placeholder
This commit is contained in:
+4
-1
@@ -1,6 +1,9 @@
|
|||||||
package views
|
package views
|
||||||
|
|
||||||
import "github.com/arnef/ebooks/internal/library"
|
import (
|
||||||
|
"strings"
|
||||||
|
"github.com/arnef/ebooks/internal/library"
|
||||||
|
)
|
||||||
|
|
||||||
templ Layout(title string) {
|
templ Layout(title string) {
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
|
|||||||
Reference in New Issue
Block a user