Add Open Graph to articles
This commit is contained in:
parent
d37ad8ef32
commit
bad3c5e0d3
1 changed files with 11 additions and 1 deletions
|
@ -6,6 +6,16 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>{{title}}</title>
|
<title>{{title}}</title>
|
||||||
<meta content="{{title}}" property="og:title">
|
<meta content="{{title}}" property="og:title">
|
||||||
|
<meta content="article" property="og:type">
|
||||||
|
<meta content="/images/logo-z.svg" property="og:image">
|
||||||
|
<meta content="{{published_og}}" property="og:article:published_time">
|
||||||
|
<meta content="{{modified_og}}" property="og:article:modified_time">
|
||||||
|
{% for author in authors %}
|
||||||
|
<meta content="{{ author.full_name | split(pat=' ') | nth(n=0) }}" property="og:article:author:first_name">
|
||||||
|
<meta content="{{ author.full_name | split(pat=' ') | nth(n=1) }}" property="og:article:author:last_name">
|
||||||
|
<meta content="{{author.username}}" property="og:article:author:username">
|
||||||
|
{% endfor %}
|
||||||
|
<meta content="Compute: Lake Braddock's Comp-sci journal" property="og:site_name">
|
||||||
<meta content="{{title}}" property="twitter:title">
|
<meta content="{{title}}" property="twitter:title">
|
||||||
<meta content="width=device-width, initial-scale=1" name="viewport">
|
<meta content="width=device-width, initial-scale=1" name="viewport">
|
||||||
<meta content="Webflow" name="generator">
|
<meta content="Webflow" name="generator">
|
||||||
|
@ -53,4 +63,4 @@
|
||||||
<script src="/js/webflow.js" type="text/javascript"></script>
|
<script src="/js/webflow.js" type="text/javascript"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
Loading…
Reference in a new issue