Commit c2eb65f8 authored by Daniel W Bond's avatar Daniel W Bond

added blocktags to support open graph and twitter metadata tags

parent 8bf7a6b6
......@@ -9,7 +9,26 @@
<link href="/static/css/style.css" rel="stylesheet" media="screen">
<link href="/static/css/font-awesome.min.css" rel="stylesheet">
<link rel="icon" href="/static/img/favicon.ico">
<title> {% block title %} {% endblock %}</title>
<title>{% block title %} {% endblock %}</title>
<!-- Facebook -->
{% block og_metadata %}
<meta property="og:title" content="SRCT Roomlist"/>
<meta property="og:description" content="Log in with your Mason username and password to find your on-campus neighbors."/>
{% endblock og_metadata %}
<meta property="og:type" content="website"/>
<meta property="og:image" content="https://srct.gmu.edu/static/media/SRCT_square_sm.png"/>
<meta property="og:url" content="{{ request.build_absolute_uri }}"/>
<meta property="og:site_name" content="SRCT Roomlist"/>
<!-- Twitter -->
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@MasonSRCT" />
{% block tw_metadata %}
<meta name="twitter:title" content="SRCT Roomlist" />
<meta name="twitter:description" content="Log in with your Mason username and password to find your on-campus neighbors." /> <!-- Maximum 200 characters. -->
{% endblock tw_metadata %}
<!-- Twitterbot now automatically crawls for the url: no url tag. -->
<meta name="twitter:image" content="https://srct.gmu.edu/static/media/SRCT_square_sm.png" />
<meta name="twitter:img:alt" content="SRCT's square logo" />
</head>
<body>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment