File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020
2121theme :
2222 name : material
23+ custom_dir : overrides
2324 logo : assets/mark.svg
2425 favicon : assets/favicon.svg
2526 features :
Original file line number Diff line number Diff line change 1+ {% extends "base.html" %}
2+ {% block extrahead %}
3+ {{ super() }}
4+ {% set base = config.site_url if config.site_url.endswith('/') else config.site_url ~ '/' %}
5+ {% set card = base ~ 'assets/social-card.png' %}
6+ {% set title = (page.title ~ ' · ' ~ config.site_name) if (page.title and not page.is_homepage) else config.site_name %}
7+ {% set description = page.meta.description if page.meta and page.meta.description else config.site_description %}
8+ < meta property ="og:type " content ="website ">
9+ < meta property ="og:site_name " content ="{{ config.site_name }} ">
10+ < meta property ="og:title " content ="{{ title }} ">
11+ < meta property ="og:description " content ="{{ description }} ">
12+ < meta property ="og:url " content ="{{ page.canonical_url }} ">
13+ < meta property ="og:image " content ="{{ card }} ">
14+ < meta property ="og:image:type " content ="image/png ">
15+ < meta property ="og:image:width " content ="1280 ">
16+ < meta property ="og:image:height " content ="640 ">
17+ < meta name ="twitter:card " content ="summary_large_image ">
18+ < meta name ="twitter:title " content ="{{ title }} ">
19+ < meta name ="twitter:description " content ="{{ description }} ">
20+ < meta name ="twitter:image " content ="{{ card }} ">
21+ {% endblock %}
You can’t perform that action at this time.
0 commit comments