diff --git a/website/config.rb b/website/config.rb index 75ed314a8..b58df71f0 100644 --- a/website/config.rb +++ b/website/config.rb @@ -7,6 +7,15 @@ activate :hashicorp do |h| end helpers do + # Returns the FQDN of the image URL. + # + # @param [String] path + # + # @return [String] + def image_url(path) + File.join(base_url, image_path(path)) + end + # Get the title for the page. # # @param [Middleman::Page] page diff --git a/website/source/assets/images/og-image.png b/website/source/assets/images/og-image.png new file mode 100644 index 000000000..dbc7d61cc Binary files /dev/null and b/website/source/assets/images/og-image.png differ diff --git a/website/source/layouts/layout.erb b/website/source/layouts/layout.erb index dfc0af06b..c33397635 100644 --- a/website/source/layouts/layout.erb +++ b/website/source/layouts/layout.erb @@ -10,10 +10,21 @@ " sizes="32x32"> " sizes="16x16"> - " color="#23414a"> + " color="#5C4EE5"> + + + + + + + "/> + + + + <%= title_for(current_page) %> <%= stylesheet_link_tag "application" %>