Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
brianmaierjr committed Oct 6, 2018
1 parent 34a2d6a commit 535498f
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 47 deletions.
55 changes: 10 additions & 45 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,56 +7,21 @@

<!-- Open Graph Meta -->
<meta content="{{ site.title }}" property="og:site_name">
{% if page.title %}
<meta content="{{ page.title }}" property="og:title">
{% else %}
<meta content="{{ site.title }}" property="og:title">
{% endif %}
{% if page.title %}
<meta content="article" property="og:type">
{% else %}
<meta content="website" property="og:type">
{% endif %}
{% if page.description %}
<meta content="{{ page.description }}" property="og:description">
{% else %}
<meta content="{{ site.description }}" property="og:description">
{% endif %}
{% if page.url %}
<meta content="{{ site.url }}{{ page.url }}" property="og:url">
{% endif %}
{% if page.date %}
<meta content="{{ page.date | date_to_xmlschema }}" property="article:published_time">
<meta content="{{ site.url }}/about/" property="article:author">
{% endif %}
{% if page.image %}
<meta content="{{ site.url }}/assets/img/{{ page.image }}" property="og:image">
{% else %}
<meta content="{{ '/assets/img/touring.jpg' | prepend: site.url }}" property="og:image">
{% endif %}
{% if page.title %}<meta content="{{ page.title }}" property="og:title">{% else %}<meta content="{{ site.title }}" property="og:title">{% endif %}
{% if page.title %}<meta content="article" property="og:type">{% else %}<meta content="website" property="og:type">{% endif %}
{% if page.description %}<meta content="{{ page.description }}" property="og:description">{% else %}<meta content="{{ site.description }}" property="og:description">{% endif %}
{% if page.url %}<meta content="{{ site.url }}{{ page.url }}" property="og:url">{% endif %}
{% if page.date %}<meta content="{{ page.date | date_to_xmlschema }}" property="article:published_time"><meta content="{{ site.url }}/about/" property="article:author">{% endif %}
{% if page.image %}<meta content="{{ site.url }}/assets/img/{{ page.image }}" property="og:image">{% else %}<meta content="{{ '/assets/img/touring.jpg' | prepend: site.url }}" property="og:image">{% endif %}

<!-- Twitter Cards -->
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@{{ site.social.twitter }}">
<meta name="twitter:creator" content="@{{ site.social.twitter }}">
{% if page.title %}
<meta name="twitter:title" content="{{ page.title }}">
{% else %}
<meta name="twitter:title" content="{{ site.title }}">
{% endif %}
{% if page.url %}
<meta name="twitter:url" content="{{ site.url }}{{ page.url }}">
{% endif %}
{% if page.description %}
<meta name="twitter:description" content="{{ page.description }}">
{% else %}
<meta name="twitter:description" content="{{ site.description }}">
{% endif %}
{% if page.image %}
<meta name="twitter:image:src" content="{{ site.url }}/assets/img/{{ page.image }}">
{% else %}
<meta name="twitter:image:src" content="{{ '/assets/img/touring.jpg' | prepend: site.url }}">
{% endif %}
{% if page.title %}<meta name="twitter:title" content="{{ page.title }}">{% else %}<meta name="twitter:title" content="{{ site.title }}">{% endif %}
{% if page.url %}<meta name="twitter:url" content="{{ site.url }}{{ page.url }}">{% endif %}
{% if page.description %}<meta name="twitter:description" content="{{ page.description }}">{% else %}<meta name="twitter:description" content="{{ site.description }}">{% endif %}
{% if page.image %}<meta name="twitter:image:src" content="{{ site.url }}/assets/img/{{ page.image }}">{% else %}<meta name="twitter:image:src" content="{{ '/assets/img/touring.jpg' | prepend: site.url }}">{% endif %}

<!-- Favicon -->
<link rel="icon" type="image/x-icon" href="{{ "/assets/img/favicon.ico" | prepend: site.baseurl }}" />
Expand Down
2 changes: 1 addition & 1 deletion _includes/social.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="socialLinks">
{% for link in site.social %}
<a class="socialLinks__link socialLInk__{{ link.platform }}" href="{{ link.url }}">{{ link.platform }}</a>
<a class="socialLinks__link socialLInk__{{ link.platform }}" href="{{ link.url }}">{{ link.platform }}</a>
{% endfor %}
</div>
2 changes: 1 addition & 1 deletion assets/css/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions assets/scss/layouts/_half.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
&.half--left {
@include min(md) {
order: 1;
flex-basis: 0.75;
max-width: rem(600);
}
}
}
Expand Down

0 comments on commit 535498f

Please sign in to comment.