Skip to content

Commit

Permalink
feat: add relevant meta tags for better defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
darricheng committed Oct 31, 2024
1 parent 9278205 commit 356784b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions loco-gen/src/templates/scaffold/html/base.t
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ message: "Base template was added successfully."
<html lang="en">

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{% raw %}{% block title %}{% endblock title %}{% endraw %}</title>
<script src="https://cdn.tailwindcss.com?plugins=forms,typography,aspect-ratio,line-clamp"></script>
{% raw %}{% block head %}{% endraw %}
Expand Down
2 changes: 2 additions & 0 deletions loco-gen/src/templates/scaffold/htmx/base.t
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ message: "Base template was added successfully."
<html lang="en">

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{% raw %}{% block title %}{% endblock title %}{% endraw %}</title>

<script src="https://unpkg.com/[email protected]/dist/htmx.min.js"></script>
Expand Down

0 comments on commit 356784b

Please sign in to comment.