Skip to content

Commit

Permalink
update json
Browse files Browse the repository at this point in the history
  • Loading branch information
rasulkireev committed Oct 10, 2024
1 parent ad65a51 commit 3bc2977
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frontend/templates/blog/blog_post.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
<meta property="og:title" content="{{ blog_post.title }}" />
<meta property="og:url" content="https://{{ request.get_host }}{{ blog_post.get_absolute_url }}" />
<meta property="og:description" content="{{ blog_post.description }}" />
<meta property="og:image" content="https://{{ request.get_host }}{{ blog_post.image.url }}" />
<meta property="og:image" content="https://osig.app/g?site=x&style=base&font=markerfelt&title={{ blog_post.title }} | OSIG Blog&subtitle={{ blog_post.description }}&image_url=https://{{ request.get_host }}{{ blog_post.image.url }}" />
<meta property="og:locale" content="en_US" />

<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:creator" content="@rasulkireev" />
<meta name="twitter:site" content="@rasulkireev" />
<meta name="twitter:title" content="{{ blog_post.title }}" />
<meta name="twitter:description" content="{{ blog_post.description }}" />
<meta name="twitter:image" content="https://{{ request.get_host }}{{ blog_post.image.url }}" />
<meta name="twitter:image" content="https://osig.app/g?site=x&style=base&font=markerfelt&title={{ blog_post.title }} | OSIG Blog&subtitle={{ blog_post.description }}&image_url=https://{{ request.get_host }}{{ blog_post.image.url }}" />
{% endblock meta %}

{% block content %}
Expand All @@ -43,7 +43,7 @@ <h1 class="mb-6 text-3xl font-bold">{{ blog_post.title }}</h1>
"@type": "BlogPosting",
"headline": "{{ blog_post.title }}",
"description": "{{ blog_post.description }}",
"image": "{% if blog_post.image %}https://{{ request.get_host }}{{ blog_post.image.url }}{% endif %}",
"image": "https://osig.app/g?site=x&style=base&font=markerfelt&title={{ blog_post.title }} | OSIG Blog&subtitle={{ blog_post.description }}&image_url=https://{{ request.get_host }}{{ blog_post.image.url }}",
"url": "https://{{ request.get_host }}{{ blog_post.get_absolute_url }}",
"datePublished": "{{ blog_post.created_at|date:'c' }}",
"dateModified": "{{ blog_post.updated_at|date:'c' }}",
Expand All @@ -57,7 +57,7 @@ <h1 class="mb-6 text-3xl font-bold">{{ blog_post.title }}</h1>
"name": "OSIG",
"logo": {
"@type": "ImageObject",
"url": "https://osig.app/static/vendors/images/logo-square.png"
"url": "{% static 'vendors/images/logo.png' %}"
}
},
"mainEntityOfPage": {
Expand Down

0 comments on commit 3bc2977

Please sign in to comment.