Browse Source

feat(docs): Add share info to landing page

Michael Bromley 7 years ago
parent
commit
1bbc0070d0

+ 1 - 0
docs/config.toml

@@ -4,6 +4,7 @@ title = "Vendure E-commerce"
 googleAnalytics = "UA-133911942-1"
 pygmentsCodeFences = true
 pygmentsUseClasses = true
+images = ["share-image.jpg"]
 disableKinds = [
   "taxonomy",
   "taxonomyTerm"

+ 2 - 0
docs/content/_index.md

@@ -1,4 +1,6 @@
 ---
 title: "Headless e-commerce with GraphQL, TypeScript and Node.js"
+images: 
+    - "./share-image.jpg"
 weight: 0
 ---

+ 1 - 1
docs/content/blog/introducing-vendure/index.md

@@ -1,6 +1,6 @@
 ---
 title: "Introducing Vendure"
-date: 2019-02-07T10:27:46+01:00
+date: 2019-02-11T10:27:46+01:00
 draft: false
 author: "Michael Bromley"
 images: 

+ 2 - 0
docs/layouts/index.en.html

@@ -3,6 +3,8 @@
 <head>
     {{ partial "docs/html-head" . }}
     <link rel="stylesheet" href="{{ "intro.css" | relURL }}">
+    {{ template "_internal/opengraph.html" . }}
+    {{ template "_internal/twitter_cards.html" . }}
 </head>
 <body class="landing-page">
 {{ partial "top-bar" (dict "isLandingPage" true) }}

BIN
docs/static/share-image.jpg