1

much more meta stuff

This commit is contained in:
Evan Pratten 2021-11-16 11:54:24 -05:00
parent 7439ce15f0
commit 13c0ec06ca
4 changed files with 17 additions and 3 deletions

View File

@ -23,8 +23,10 @@
<link rel="stylesheet" href="/styles/layout.css">
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="va3zza.com" />
<meta name="twitter:image" content="https://avatars.githubusercontent.com/u/21065412" />
<meta name="og:site" content="va3zza.com" />
<meta name="og:image" content="https://avatars.githubusercontent.com/u/21065412" />
<meta name="twitter:creator" content="@ewpratten">
<meta name="og:site_name" content="Evan Pratten (VA3ZZA)" />
{% endblock head %}
</head>

View File

@ -7,7 +7,7 @@
{{ super() }}
<meta name="description" content="Evan Pratten is a college student, amateur radio operator, software developer, and more. This is his website." />
<meta name="og:description" content="Evan Pratten is a college student, amateur radio operator, software developer, and more. This is his website." />
<meta name="twitter:title" content="Evan Pratten (VA3ZZA)" />
<meta name="og:title" content="Evan Pratten (VA3ZZA)" />
{% endblock head %}
{% block content %}

View File

@ -16,6 +16,13 @@
MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']], displayMath: [ ['$$','$$'], ['\[','\]'] ]}});
</script>
{% endif %}
<meta property="og:title" content="{{page.title}}" />
<meta property="og:type" content="article" />
{% if page.description %}
<meta property="og:description" content="{{page.description}}" />
{% endif %}
<meta property="article:published_time" content="{{page.date}}T00:00:00+00:00" />
{% endblock head %}
{% block profile %}

View File

@ -3,6 +3,11 @@
{{section.title}}
{% endblock title %}
{% block head %}
{{ super() }}
<meta property="og:title" content="{{page.title}}" />
{% endblock head %}
{% block content %}
{{section.content | safe}}