diff options
author | navanchauhan <navanchauhan@gmail.com> | 2022-12-30 17:31:51 -0500 |
---|---|---|
committer | navanchauhan <navanchauhan@gmail.com> | 2022-12-30 17:31:51 -0500 |
commit | d874d391c1e7b038c8a3f64e703a1229dc32a01c (patch) | |
tree | 82fe99ab5613fe0e2c015140e0a7773d7ddd15cf /templates | |
parent | f677efc4a2e89b0d456bd25923e73fabb7a8ff6e (diff) |
fix social graph tags
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base.html | 14 | ||||
-rw-r--r-- | templates/post.html | 14 |
2 files changed, 14 insertions, 14 deletions
diff --git a/templates/base.html b/templates/base.html index 5f95dee..bc98834 100644 --- a/templates/base.html +++ b/templates/base.html @@ -6,17 +6,17 @@ <link rel="stylesheet" href="/assets/sakura.css" /> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>Hey - {% block title %}{% endblock %}</title> + <title>{% block title %}{% endblock %}</title> <meta name="og:site_name" content="Navan Chauhan" /> <link rel="canonical" href="https://web.navan.dev/" /> <meta name="twitter:url" content="https://web.navan.dev/" /> <meta name="og:url" content="https://web.navan.dev/" /> - <meta name="twitter:title" content="Hey - {% block twittertitle %}{% endblock %}" /> - <meta name="og:title" content="Hey - {% block ogtitle %}{% endblock %}" /> - <meta name="description" content="{% block description %}{% endblock %}" /> - <meta name="twitter:description" content="{% block twitterdescription %}{% endblock %}" /> - <meta name="og:description" content="{% block ogdescription %}{% endblock %}" /> - <meta name="twitter:card" content="{% block twitter2description %}{% endblock %}" /> + <meta name="twitter:title" content="{% block twittertitle %}Hey - Home{% endblock %}" /> + <meta name="og:title" content="{% block ogtitle %}Hey - Home{% endblock %}" /> + <meta name="description" content="{% block description %}code snippets, long-form rants, and tutorials{% endblock %}" /> + <meta name="twitter:description" content="{% block twitterdescription %}code snippets, long-form rants, and tutorials{% endblock %}" /> + <meta name="og:description" content="{% block ogdescription %}code snippets, long-form rants, and tutorials{% endblock %}" /> + <meta name="twitter:card" content="{% block twitter2description %}summary_large_image{% endblock %}" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="shortcut icon" href="/images/favicon.png" type="image/png" /> <link rel="alternate" href="/feed.rss" type="application/rss+xml" title="Subscribe to Navan Chauhan" /> diff --git a/templates/post.html b/templates/post.html index 48e017b..0a66046 100644 --- a/templates/post.html +++ b/templates/post.html @@ -1,13 +1,13 @@ {% extends "base.html" %} -{% block title %}Post - {{content.metadata.title}}{% endblock %} -{% block ogtitle %}Post - {{content.metadata.title}}{% endblock %} -{% block twittertitle %}Post - {{content.metadata.title}}{% endblock %} +{% block title %}{{content.metadata.title}}{% endblock %} +{% block ogtitle %}{{content.metadata.title}}{% endblock %} +{% block twittertitle %}{{content.metadata.title}}{% endblock %} -{% block description %} {{content.metadata.description}} {% endblock %} -{% block ogdescription %} {{content.metadata.description}} {% endblock %} -{% block twitterdescription %} {{content.metadata.description}} {% endblock %} -{% block twitter2description %} {{content.metadata.description}} {% endblock %} +{% block description %}{{content.metadata.description}}{% endblock %} +{% block ogdescription %}{{content.metadata.description}}{% endblock %} +{% block twitterdescription %}{{content.metadata.description}}{% endblock %} +{% block twitter2description %}summary_large_image{% endblock %} {% block body %} <main> |