Skip to content

Commit

Permalink
update metadata
Browse files Browse the repository at this point in the history
- twitter metadata tags are for replacing / adding to opengraph, they do not need to contain duplicate data
- made favicon consistent with github org
- cleaned up urls
  • Loading branch information
mymindishazel authored Aug 1, 2024
1 parent a59b633 commit c5db6b1
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions public/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://disease.sh/" />
<meta property="og:url" content="https://disease.sh" />
<meta property="og:title" content="disease.sh" />
<meta
property="og:description"
Expand All @@ -30,23 +30,13 @@
/>
<meta
property="og:image"
content="https://disease.sh./assets/img/rona.jpg"
content="https://disease.sh/assets/img/rona.jpg"
/>

<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://disease.sh/" />
<meta property="twitter:title" content="disease.sh" />
<meta
property="twitter:description"
content="An open API for disease-related statistics. No signup required.
Over 45,000,000,000+ Requests & 50 TB of Data Served to Date!"
/>
<meta
property="twitter:image"
content="https://disease.sh./assets/img/rona.jpg"
/>
<link rel="icon" href="./assets/img/icon.jpg" type="image" />

<link rel="icon" href="/assets/img/icon_caw.png" type="image/png" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css"
Expand All @@ -55,7 +45,6 @@
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/Chart.min.css"
/>
<link rel="icon" href="./assets/img/virus.png" />
<link rel="stylesheet" href="./assets/css/jsonViewer.css" />
<link rel="stylesheet" href="./assets/css/index.css" />
</head>
Expand All @@ -72,7 +61,7 @@
rgba(0, 0, 0, 0.4),
rgba(0, 0, 0, 0.4)
),
url(./assets/img/rona.jpg);
url(/assets/img/rona.jpg);
background-size: cover;
display: flex;
transition: box-shadow 0.2s ease;
Expand Down Expand Up @@ -228,7 +217,7 @@
class="hero"
style="
background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
url(./assets/img/rona.jpg);
url(/assets/img/rona.jpg);
background-size: cover;
z-index: 10;
"
Expand Down

0 comments on commit c5db6b1

Please sign in to comment.