Skip to content

Commit

Permalink
Add the SEO code
Browse files Browse the repository at this point in the history
  • Loading branch information
minagishl committed Oct 18, 2024
1 parent dd2c6b0 commit 971338c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title: Disaster Response Guide
layout: base.njk
permalink: /
breadcrumbs:
description: A comprehensive resource for disaster preparedness and action plans during different types of disasters in Japan.
---

> **Note:** The information on this website may not always be accurate as it is created and maintained by the community. We encourage users to verify critical information through official sources during emergencies.
Expand Down
22 changes: 21 additions & 1 deletion src/layouts/base.njk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,27 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ title }}</title>
<link rel="stylesheet" href="./assets/css/style.css">

<!-- Meta description -->
<meta name="description" content="{{ description }}">

<!-- Meta keywords -->
<meta name="keywords" content="evacuate, guide, documentation, how-to, tutorial, handbook">

<!-- Canonical URL -->
<link rel="canonical" href="https://evacuate.github.io/guide{{ page.url }}">

<!-- Open Graph Tags for social sharing -->
<meta property="og:title" content="{{ title }}">
<meta property="og:description" content="{{ description }}">
<meta property="og:type" content="website">
<meta property="og:url" content="https://evacuate.github.io/guide{{ page.url }}">

<!-- Twitter Card tags -->
<meta name="twitter:title" content="{{ title }}">
<meta name="twitter:description" content="{{ description }}">

<link rel="stylesheet" href="https://evacuate.github.io/guide/assets/css/style.css">
</head>

<body class="container">
Expand Down

0 comments on commit 971338c

Please sign in to comment.