From 356784be553701a550c2df2b92d270f814886a58 Mon Sep 17 00:00:00 2001 From: Darric Heng Date: Thu, 31 Oct 2024 12:56:22 +0800 Subject: [PATCH] feat: add relevant meta tags for better defaults --- loco-gen/src/templates/scaffold/html/base.t | 2 ++ loco-gen/src/templates/scaffold/htmx/base.t | 2 ++ 2 files changed, 4 insertions(+) diff --git a/loco-gen/src/templates/scaffold/html/base.t b/loco-gen/src/templates/scaffold/html/base.t index 16123c442..af33dc648 100644 --- a/loco-gen/src/templates/scaffold/html/base.t +++ b/loco-gen/src/templates/scaffold/html/base.t @@ -7,6 +7,8 @@ message: "Base template was added successfully." + + {% raw %}{% block title %}{% endblock title %}{% endraw %} {% raw %}{% block head %}{% endraw %} diff --git a/loco-gen/src/templates/scaffold/htmx/base.t b/loco-gen/src/templates/scaffold/htmx/base.t index b0b96c332..e360b023b 100644 --- a/loco-gen/src/templates/scaffold/htmx/base.t +++ b/loco-gen/src/templates/scaffold/htmx/base.t @@ -7,6 +7,8 @@ message: "Base template was added successfully." + + {% raw %}{% block title %}{% endblock title %}{% endraw %}