Skip to content

Commit

Permalink
Fix fontforge#76 fontforge#72 added open graph data and twitter card.
Browse files Browse the repository at this point in the history
  • Loading branch information
nickaugeo committed May 7, 2021
1 parent f8e7445 commit b74116a
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
4 changes: 4 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ plugins:
include:
- _images
- _static
socialTitle: FontForge
socialDescription: FontForge is a free and open-source outline font editor.
socialImage: /assets/img/social-banner.png
socialAuthor: '@fontforge'
18 changes: 17 additions & 1 deletion _includes/html-start.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,26 @@
<meta charset="utf-8">
<title>{{ page.title }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="FontForge is free and open-source outline font editor.">
<meta name="description" content="{{ site.socialDescription }}" />
<meta name="author" content="The FontForge Project Contributors">
<meta name="keywords" content="FontForge,font,typeface,design,create,opentype,truetype,UFO,SFD">

<!-- Twitter Card data -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="{{ site.socialAuthor }}">
<meta name="twitter:title" content="{{ site.socialTitle }}">
<meta name="twitter:description" content="{{ site.socialDescription }}">
<meta name="twitter:creator" content="{{ site.socialAuthor }}">
<meta name="twitter:image" content="{{ site.socialImage }}">

<!-- Open Graph data -->
<meta property="og:title" content="{{ site.socialTitle }}" />
<meta property="og:type" content="website" />
<meta property="og:url" content="{{ site.url }}" />
<meta property="og:image" content="{{ site.socialImage }}" />
<meta property="og:description" content="{{ site.socialDescription }}" />
<meta property="og:site_name" content="{{ site.socialTitle }}" />

<!-- CSS -->
<link href='https://fonts.googleapis.com/css?family=Merriweather:400,700' rel='stylesheet' type='text/css'>
<link href="/assets/css/bootstrap.css" rel="stylesheet">
Expand Down
Binary file added assets/img/social-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 b74116a

Please sign in to comment.