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

adding meta tags to site #16

Merged
merged 1 commit into from
Dec 22, 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
8 changes: 8 additions & 0 deletions src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@
<meta charset="utf-8" />
<link rel="icon" href="%sveltekit.assets%/edit.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta property="og:title" content="Long Post" />
<meta property="og:description" content="Post your long thoughts with code images on bluesky" />
<meta property="og:image" content="%sveltekit.assets%/longpost.png" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:image" content="%sveltekit.assets%/longpost.png" />
<meta name="twitter:title" content="Long Post" />
<meta name="twitter:description" content="Post your long thoughts with code images on bluesky" />
%sveltekit.head%
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Remove duplicate SvelteKit head directive.

There are two %sveltekit.head% directives which could cause duplicate meta tags and other head elements.

-		%sveltekit.head%
-		%sveltekit.head%
+		%sveltekit.head%

Committable suggestion skipped: line range outside the PR's diff.

%sveltekit.head%
</head>
<body data-sveltekit-preload-data="hover">
Expand Down
Binary file added static/longpost.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading