Saved: 2017-10-30 07:05

Torey Heinz committed Oct 30, 2017
commit d09ed4f674010df1e632b56d658d399797f9d047
Showing 3 changed files with 26 additions and 11 deletions
app/views/pages/layouts/default.liquid +1 -6
@@ @@ -9,11 +9,7 @@ is_layout: true
<!doctype html>
<html class="no-js" lang="en">
<head>
- <meta charset="utf-8">
- <meta http-equiv="x-ua-compatible" content="ie=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <link rel="shortcut icon" href="{{ 'favicon.ico' | theme_image_url }}">
- <title>{{ page.title }} | VS America</title>
+ {% include 'metatags' %}
{{ 'app.css' | stylesheet_tag }}
<script src="https://use.fontawesome.com/2c75e31fa5.js"></script>
@@ @@ -52,7 +48,6 @@ is_layout: true
</header>
<div class="title-bar" data-responsive-toggle="sidebar-nav" data-hide-for="large">
<button class="menu-icon" type="button" data-toggle="sidebar-nav"></button>
- <div class="title-bar-title">Menu</div>
<div class="contact-info float-right">
<i class="fa fa-phone fa-lg">&nbsp;</i><a href="tel:16169566800">(616) 956-6800</a>
&nbsp;
app/views/snippets/metatags.liquid +18 -0
@@ @@ -0,0 +1,18 @@
+
+ {% if page.seo_title %}
+ {% capture page_title %}{{ page.seo_title | escape }} | {{ site.name }}{% endcapture %}
+ {% else %}
+ {% capture page_title %}{{ page.title | escape }} | {{ site.name }}{% endcapture %}
+ {% endif %}
+
+ <meta charset="utf-8">
+ <meta http-equiv="x-ua-compatible" content="ie=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+ <title>{{ page_title }}</title>
+ {% seo %}
+ <meta property="og:title" content="{{ page.title | escape }} | VS America" />
+ <meta property="og:image" content="{{ 'logo.png' | theme_image_url }}" />
+ <meta property="og:site_name" content="{{ site.name }}" />
+ <link rel="shortcut icon" href="{{ 'favicon.ico' | theme_image_url }}">
+
config/site.yml +7 -5
@@ @@ -2,9 +2,11 @@ name: VS America
locales: [en]
domains: []
timezone: UTC
- seo_title:
- meta_keywords:
- meta_description:
- robots_txt:
- metafields:
+ seo_title: VS America
+ meta_keywords: malleable iron castings, gray iron castings, ductile iron castings, zinc die castings, shell mold castings
+ meta_description: The right casting at the right price - ON TIME!
+ robots_txt:
+ metafields:
metafields_ui: {}
+
+