Skip to content

Commit

Permalink
Add google verification
Browse files Browse the repository at this point in the history
  • Loading branch information
KabanFriends committed Apr 30, 2024
1 parent c83cd1d commit df4e2b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/components/Metadata.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
const { title, description } = Astro.props;
const { title, description, top } = Astro.props;
---

<head>
Expand Down Expand Up @@ -35,4 +35,6 @@ const { title, description } = Astro.props;
<!-- Discord Embed End -->

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>

{top ? <meta name="google-site-verification" content="_3Tl91M_oy5osFhzvTsWhOdLS1Q0GlinE10mVTTV9Us" /> : undefined}
</head>
2 changes: 1 addition & 1 deletion src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import LangSelect from "../components/LangSelect.astro";
---

<html lang="ja">
<Metadata title="KabanFriends" description="KabanFriendsのウェブサイト (4代目) / KabanFriends' 4th Website"/>
<Metadata title="KabanFriends" description="KabanFriendsのウェブサイト (4代目) / KabanFriends' 4th Website" top=1/>

<div class="base">
<div class="vertical-middle">
Expand Down

0 comments on commit df4e2b8

Please sign in to comment.