forked from reingart/pyfpdf
-
Notifications
You must be signed in to change notification settings - Fork 241
/
main.html
26 lines (24 loc) · 985 Bytes
/
main.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{% extends "base.html" %}
{% block announce %}
<!--center>
<a href="https://github.com/py-pdf/fpdf2/releases/tag/2.X.Y">
New release: 2.X.Y on 20YY/MM/DD
</a>
</center-->
{% endblock %}
{% block extrahead %}
{% set title = config.site_name %}
{% if page and page.meta and page.meta.title %}
{% set title = title ~ " - " ~ page.meta.title %}
{% elif page and page.title and not page.is_homepage %}
{% set title = title ~ " - " ~ page.title | striptags %}
{% endif %}
<meta property="og:type" content="website" />
<meta property="og:title" content="{{ title }}" />
<meta property="og:description" content="{{ config.site_description }}" />
<meta property="og:url" content="{{ page.canonical_url }}" />
<meta property="og:image" content="{{ config.site_url }}fpdf2-logo.png" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="500" />
<meta property="og:image:height" content="500" />
{% endblock %}