Skip to content

Commit

Permalink
og_update
Browse files Browse the repository at this point in the history
  • Loading branch information
Lungsangg committed Nov 21, 2024
1 parent c40e319 commit 5a393e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Binary file modified output.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@
{% endblock %}

{% block ogimage %}
<meta property="og:title" content="Pecha - Buddhism in your own words" />
<!-- <meta property="og:description" content="The largest free library of Buddhist texts available to read online in Tibetan, English, and Chinese including Sutras, Tantras, Abhidharma, Vinaya, commentaries and more."/> -->
<!-- <meta property="og:title" content="Pecha - Buddhism in your own words" /> -->
<meta property="og:description" content="{% block fb_description %}{{ desc|striptags }}{% endblock %}"/>
<meta property="og:image" content="https://{{ request.get_host }}/api/img-gen{{ request.path }}?lang={{ request.GET.lang }}&platform=facebook&ven={{ request.GET.ven }}&vhe={{ request.GET.vhe }}" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:image:height" content="500" />
<!-- Debugging: Display the og:image URL -->
<p>Debug: og:image = https://{{ request.get_host }}/api/img-gen{{ request.path }}?lang={{ request.GET.lang }}&platform=facebook&ven={{ request.GET.ven }}&vhe={{ request.GET.vhe }}</p>
{% endblock %}
Expand Down

0 comments on commit 5a393e7

Please sign in to comment.