Skip to content

Commit

Permalink
open graph tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Osmose committed Nov 28, 2023
1 parent 7571fc3 commit 2f024c5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion docs/.templates/default.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,19 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="<%- ctx.absolutify('../favicon.ico') %>"/>

<meta property="og:title" content="Phantomake <%- output.file.attributes.title %>" />
<meta property="og:description" content="A file-focused static site generator." />
<meta property="og:image" content="<%- ctx.absolutify('../phantomake_banner.png') %>" />
<meta property="og:image:alt" content="Phanto, the construction-hat-wearing ghost mascot of Phantomake." />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:image:type" content="image/png" />
<meta property="og:url" content="<%- ctx.absolutify(`../${output.path}`) %>" />
<meta property="og:site_name" content="Phantomake" />

<title>Phantomake Docs</title>
<link rel="icon" href="<%- ctx.absolutify('../favicon.ico') %>"/>

<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/atom-one-dark.min.css" />
Expand Down
Binary file added docs/phantomake_banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2f024c5

Please sign in to comment.