Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add relevant meta tags for better defaults #943

Merged
merged 1 commit into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/htmx.org@2.0.0/dist/htmx.min.js"></script>
Expand Down
Loading