Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
srct.gmu.io
Commits
679930d3
Commit
679930d3
authored
Aug 06, 2017
by
David Haynes
🙆
Browse files
Merge branch '12-opengraph-twitter' into '1.0-jekyll-rewrite'
Dynamic meta tags for OG and Twitter See merge request !22
parents
3182bbf7
ec4b00f9
Changes
3
Hide whitespace changes
Inline
Side-by-side
srctweb/_config.yml
View file @
679930d3
...
...
@@ -2,7 +2,8 @@
locale
:
"
en-US"
title
:
"
SRCT"
email
:
"
srct@gmu.edu"
description
:
"
SRCTs
home
on
the
internet"
description
:
"
Mason
SRCT
is
a
student
organization
at
George
Mason
University
that
establishes
and
maintains
systems
which
provide
specific
services
for
Mason's
community."
author
:
"
Mason
SRCT"
# the subpath of your site, e.g. /blog
baseurl
:
"
"
...
...
srctweb/_includes/head.html
View file @
679930d3
...
...
@@ -5,6 +5,25 @@
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>
{{ site.title }}{% if page.permalink != '/' %} | {{ page.title }}{% endif %}
</title>
<meta
name=
"description"
content=
"{{ site.description }}"
>
<!-- Chrome on Android navbar color -->
<meta
name=
"theme-color"
content=
"#006633"
>
<!-- Opengraph tags -->
<meta
property=
"og:url"
content=
"{{ site.url }}{{ page.permalink }}"
>
<meta
property=
"og:type"
content=
"website"
>
<meta
property=
"og:title"
content=
"{{ site.title }}{% if page.permalink != '/' %} | {{ page.title }}{% endif %}"
>
<meta
property=
"og:image"
content=
"{{ site.url }}/assets/img/SRCT_sq_white_shadow.png"
>
<meta
property=
"og:description"
content=
"{{ page.description }}"
>
<meta
property=
"og:site_name"
content=
"{{ site.title }}"
>
<meta
property=
"og:locale"
content=
"{{ site.locale }}"
>
<meta
property=
"article:author"
content=
"{{ site.author }}"
>
<!-- Twitter card tags -->
<meta
name=
"twitter:card"
content=
"summary"
>
<meta
name=
"twitter:site"
content=
"@MasonSRCT"
>
<meta
name=
"twitter:creator"
content=
"@MasonSRCT"
>
<meta
name=
"twitter:url"
content=
"{{ site.url }}{{ page.permalink }}"
>
<meta
name=
"twitter:title"
content=
"{{ site.title }}{% if page.permalink != '/' %} | {{ page.title }}{% endif %}"
>
<meta
name=
"twitter:description"
content=
"{{ page.description }}"
>
<meta
name=
"twitter:image"
content=
"{{ site.url }}/assets/img/SRCT_sq_white_shadow.png"
>
<!-- Load stylesheets -->
<link
href=
"/assets/css/bootstrap.min.css"
rel=
"stylesheet"
media=
"screen"
>
...
...
srctweb/_pages/home.html
View file @
679930d3
...
...
@@ -2,7 +2,7 @@
layout: default
permalink: /
title: SRCT
description: "
test
"
description: "
Mason SRCT is a student organization at George Mason University that establishes and maintains systems which provide specific services for Mason's community.
"
jumbotron: true
---
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment