Skip to content

Commit

Permalink
feat: Open Graph meta tags
Browse files Browse the repository at this point in the history
  • Loading branch information
thunderpoot committed Dec 17, 2024
1 parent 3ade362 commit b46057d
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
Binary file added docs/img/masthead.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@
<link href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/styles/default.min.css" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/highlight.min.js"></script>
<script>hljs.highlightAll();</script>

<meta property="og:title" content="Common Crawl Web Graph Statistics">
<meta name="twitter:title" content="Common Crawl Web Graph Statistics">
<meta property="og:description" content="Visualisations and metrics from the Common Crawl Web Graph dataset">
<meta name="twitter:description" content="Visualisations and metrics from the Common Crawl Web Graph dataset">
<meta property="og:image" content="https://commoncrawl.github.io/cc-webgraph-statistics/img/masthead.jpg">
<meta name="twitter:image" content="https://commoncrawl.github.io/cc-webgraph-statistics/img/masthead.jpg">
<meta name="twitter:card" content="summary_large_image">
<meta property="og:url" content="https://commoncrawl.github.io/cc-webgraph-statistics/">
<meta property="og:type" content="website">

<style>
html {
scroll-behavior: smooth;
Expand Down
11 changes: 11 additions & 0 deletions src/build_webpage.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,17 @@ def embed_file(file_path):
<link href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/styles/default.min.css" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/highlight.min.js"></script>
<script>hljs.highlightAll();</script>
<meta property="og:title" content="Common Crawl Web Graph Statistics">
<meta name="twitter:title" content="Common Crawl Web Graph Statistics">
<meta property="og:description" content="Visualisations and metrics from the Common Crawl Web Graph dataset">
<meta name="twitter:description" content="Visualisations and metrics from the Common Crawl Web Graph dataset">
<meta property="og:image" content="https://commoncrawl.github.io/cc-webgraph-statistics/img/masthead.jpg">
<meta name="twitter:image" content="https://commoncrawl.github.io/cc-webgraph-statistics/img/masthead.jpg">
<meta name="twitter:card" content="summary_large_image">
<meta property="og:url" content="https://commoncrawl.github.io/cc-webgraph-statistics/">
<meta property="og:type" content="website">
<style>
"""

Expand Down

0 comments on commit b46057d

Please sign in to comment.