|
6 | 6 |
|
7 | 7 | {% block meta_tags_in_head %} |
8 | 8 | {{ super() }} |
9 | | -{% from '_includes/_defaults.html' import LANDING_PAGE_TITLE with context %} |
| 9 | +{% from '_includes/_defaults.html' import LANDING_PAGE_TITLE, FEATURED_IMAGE, SITE_DESCRIPTION with context %} |
10 | 10 | {% if LANDING_PAGE_TITLE %} |
11 | 11 | <meta property="og:title" content="{{ LANDING_PAGE_TITLE|e }}"/> |
12 | 12 | <meta name="twitter:title" content="{{ LANDING_PAGE_TITLE|e }}"> |
|
17 | 17 | <meta property="og:url" content="{{ SITEURL }}" /> |
18 | 18 | <meta property="og:site_name" content="{{ SITENAME|striptags|e }}" /> |
19 | 19 | <meta property="og:article:author" content="{{ AUTHOR }}" /> |
20 | | -{% from '_includes/_defaults.html' import FEATURED_IMAGE with context %} |
21 | 20 | {% if FEATURED_IMAGE %} |
22 | 21 | <meta property="og:image" content="{{FEATURED_IMAGE}}" /> |
23 | 22 | <meta name="twitter:image" content="{{FEATURED_IMAGE}}" > |
24 | 23 | {% endif %} |
| 24 | +{% if SITE_DESCRIPTION %} |
| 25 | +<meta property="og:description" content="{{SITE_DESCRIPTION|e}}" /> |
| 26 | +<meta name="twitter:description" content="{{SITE_DESCRIPTION|e}}"> |
| 27 | +{% endif %} |
25 | 28 | <meta name="keywords" content="{% for tag, _ in tags|sort %} {{ tag }}, {% endfor %}{% for category, _ in categories|sort %} {{ category }}, {% endfor %}" /> |
26 | 29 | {% endblock meta_tags_in_head %} |
27 | 30 |
|
28 | 31 | {% block content %} |
29 | | -{% from '_includes/_defaults.html' import LANDING_PAGE_TITLE with context %} |
30 | | -{% from '_includes/_defaults.html' import PROJECTS with context %} |
31 | | -{% from '_includes/_defaults.html' import PROJECTS_TITLE with context %} |
| 32 | +{% from '_includes/_defaults.html' import LANDING_PAGE_TITLE, PROJECTS, PROJECTS_TITLE with context %} |
32 | 33 |
|
33 | 34 | {% set landing_page = namespace(page=false) %} |
34 | 35 | {% for p in hidden_pages if p.slug == "landing-page-about-hidden" %} |
|
0 commit comments