on master help sign in
image block lowered to child templates
59be75eMatilde Park
templates/base.html+2−1
@@ -8,7 +8,8 @@
8 <meta name="twitter:card" content="summary_large_image">
8 <meta name="twitter:card" content="summary_large_image">
9 <meta name="twitter:site" content="@urbit">
9 <meta name="twitter:site" content="@urbit">
10 <meta name="twitter:creator" content="@urbit">
10 <meta name="twitter:creator" content="@urbit">
11− <meta name="twitter:image" content="https://media.urbit.org/logo/urbit-logo-card.png">
11+ {% block image %}
12+ {% endblock image %}
12 {% block title %}
13 {% block title %}
13 {% endblock title %}
14 {% endblock title %}
14 {% block description %}
15 {% block description %}
templates/doc.html+5
@@ -7,6 +7,11 @@
7 <meta name="og:description" content="From the Urbit documentation.">
7 <meta name="og:description" content="From the Urbit documentation.">
8 <meta name="description" content="From the Urbit documentation.">
8 <meta name="description" content="From the Urbit documentation.">
9{% endblock description %}
9{% endblock description %}
10+
11+{% block image %}
12+ <meta name="twitter:image" content="https://media.urbit.org/logo/urbit-logo-card.png">
13+{% endblock image %}
14+
10{% block bodyclasses %} class="docs" {% endblock bodyclasses %}
15{% block bodyclasses %} class="docs" {% endblock bodyclasses %}
11{% block content %}
16{% block content %}
12<!-- header -->
17<!-- header -->
templates/essays/list.html+4
@@ -10,6 +10,10 @@
10 <meta name="description" content="Directory for the Urbit Blog.">
10 <meta name="description" content="Directory for the Urbit Blog.">
11{% endblock description %}
11{% endblock description %}
12
12
13+{% block image %}
14+ <meta name="twitter:image" content="https://media.urbit.org/logo/urbit-logo-card.png">
15+{% endblock image %}
16+
13{% block content %}
17{% block content %}
14<!-- header -->
18<!-- header -->
15<nav class="mt4 full fourth-1-lg mb3 mb0-m mb0-l mb0-xl">
19<nav class="mt4 full fourth-1-lg mb3 mb0-m mb0-l mb0-xl">
templates/essays/post.html+8
@@ -23,6 +23,14 @@
23 {% endif %}"
23 {% endif %}"
24{% endblock bodyclasses %}
24{% endblock bodyclasses %}
25
25
26+{% block image %}
27+ {% if page.extra.image %}
28+ <meta name="twitter:image" content="{{ page.extra.image }}">
29+ {% else %}
30+ <meta name="twitter:image" content="https://media.urbit.org/logo/urbit-logo-card.png">
31+ {% endif %}
32+{% endblock image %}
33+
26{% block content %}
34{% block content %}
27<nav class="mt4 full fourth-1-lg mb3 mb0-m mb0-l mb0-xl">
35<nav class="mt4 full fourth-1-lg mb3 mb0-m mb0-l mb0-xl">
28 <a class="gray3" href="/">Urbit</a>
36 <a class="gray3" href="/">Urbit</a>
templates/index.html+4
@@ -4,6 +4,10 @@
4
4
5{% endblock templatestyles %}
5{% endblock templatestyles %}
6
6
7+{% block image %}
8+ <meta name="twitter:image" content="https://media.urbit.org/logo/urbit-logo-card.png">
9+{% endblock image %}
10+
7{% block bodyclasses %}class="index"{% endblock bodyclasses %}
11{% block bodyclasses %}class="index"{% endblock bodyclasses %}
8
12
9{% block title %}
13{% block title %}
templates/list.html+4
@@ -8,6 +8,10 @@
8 <meta name="description" content="Directory for {{ section.title }}.">
8 <meta name="description" content="Directory for {{ section.title }}.">
9{% endblock description %}
9{% endblock description %}
10
10
11+{% block image %}
12+ <meta name="twitter:image" content="https://media.urbit.org/logo/urbit-logo-card.png">
13+{% endblock image %}
14+
11{% block content %}
15{% block content %}
12<!-- header -->
16<!-- header -->
13<nav class="mt4 full fourth-1-lg mb3 mb0-m mb0-l mb0-xl">
17<nav class="mt4 full fourth-1-lg mb3 mb0-m mb0-l mb0-xl">
templates/media/list.html+4
@@ -9,6 +9,10 @@
9 <meta name="description" content="A curated list of Urbit-related media.">
9 <meta name="description" content="A curated list of Urbit-related media.">
10{% endblock description %}
10{% endblock description %}
11
11
12+{% block image %}
13+ <meta name="twitter:image" content="https://media.urbit.org/logo/urbit-logo-card.png">
14+{% endblock image %}
15+
12{% block content %}
16{% block content %}
13<!-- header -->
17<!-- header -->
14<nav class="mt4 full fourth-1-lg mb3 mb0-m mb0-l mb0-xl">
18<nav class="mt4 full fourth-1-lg mb3 mb0-m mb0-l mb0-xl">
templates/page.html+8
@@ -15,6 +15,14 @@
15 {% endif %}
15 {% endif %}
16{% endblock description %}
16{% endblock description %}
17
17
18+{% block image %}
19+ {% if page.extra.image %}
20+ <meta name="twitter:image" content="{{ page.extra.image }}">
21+ {% else %}
22+ <meta name="twitter:image" content="https://media.urbit.org/logo/urbit-logo-card.png">
23+ {% endif %}
24+{% endblock image %}
25+
18{% block content %}
26{% block content %}
19
27
20<!-- header -->
28<!-- header -->
templates/page_indiced.html+8
@@ -16,6 +16,14 @@
16 {% endif %}
16 {% endif %}
17{% endblock description %}
17{% endblock description %}
18
18
19+{% block image %}
20+ {% if page.extra.image %}
21+ <meta name="twitter:image" content="{{ page.extra.image }}">
22+ {% else %}
23+ <meta name="twitter:image" content="https://media.urbit.org/logo/urbit-logo-card.png">
24+ {% endif %}
25+{% endblock image %}
26+
19{% block content %}
27{% block content %}
20
28
21<!-- header -->
29<!-- header -->
templates/sections/docs.html+5
@@ -7,6 +7,11 @@
7 <meta name="og:description" content="From the Urbit documentation.">
7 <meta name="og:description" content="From the Urbit documentation.">
8 <meta name="description" content="From the Urbit documentation.">
8 <meta name="description" content="From the Urbit documentation.">
9{% endblock description %}
9{% endblock description %}
10+
11+{% block image %}
12+ <meta name="twitter:image" content="https://media.urbit.org/logo/urbit-logo-card.png">
13+{% endblock image %}
14+
10{% block bodyclasses %} class="docs" {% endblock bodyclasses %}
15{% block bodyclasses %} class="docs" {% endblock bodyclasses %}
11{% block content %}
16{% block content %}
12<!-- header -->
17<!-- header -->
templates/sections/docs/chapters.html+6
@@ -3,10 +3,16 @@
3 <meta name="og:title" content="{{ section.title }} - {{ config.title }}">
3 <meta name="og:title" content="{{ section.title }} - {{ config.title }}">
4 <title>{{ section.title }} - {{ config.title }}</title>
4 <title>{{ section.title }} - {{ config.title }}</title>
5{% endblock title %}
5{% endblock title %}
6+
6{% block description %}
7{% block description %}
7 <meta name="og:description" content="From the Urbit documentation.">
8 <meta name="og:description" content="From the Urbit documentation.">
8 <meta name="description" content="From the Urbit documentation.">
9 <meta name="description" content="From the Urbit documentation.">
9{% endblock description %}
10{% endblock description %}
11+
12+{% block image %}
13+ <meta name="twitter:image" content="https://media.urbit.org/logo/urbit-logo-card.png">
14+{% endblock image %}
15+
10{% block content %}
16{% block content %}
11<!-- header -->
17<!-- header -->
12<!-- content -->
18<!-- content -->
templates/understanding-urbit/list.html+4
@@ -9,6 +9,10 @@
9 <meta name="description" content="Urbit is a new kind of computer.">
9 <meta name="description" content="Urbit is a new kind of computer.">
10{% endblock description %}
10{% endblock description %}
11
11
12+{% block image %}
13+ <meta name="twitter:image" content="https://media.urbit.org/site/understanding-urbit/intro/intro-0.jpg">
14+{% endblock image %}
15+
12{% block content %}
16{% block content %}
13<!-- header -->
17<!-- header -->
14<nav class="mt4 full fourth-1-lg mb3 mb0-m mb0-l mb0-xl absolute-xl">
18<nav class="mt4 full fourth-1-lg mb3 mb0-m mb0-l mb0-xl absolute-xl">
templates/understanding-urbit/post.html+8
@@ -15,6 +15,14 @@
15 {% endif %}
15 {% endif %}
16{% endblock description %}
16{% endblock description %}
17
17
18+{% block image %}
19+ {% if page.extra.image %}
20+ <meta name="twitter:image" content="{{ page.extra.image }}">
21+ {% else %}
22+ <meta name="twitter:image" content="https://media.urbit.org/logo/urbit-logo-card.png">
23+ {% endif %}
24+{% endblock image %}
25+
18{% block bodyclasses %}
26{% block bodyclasses %}
19 class="essay
27 class="essay
20 {% if page.extra.classes %}
28 {% if page.extra.classes %}
templates/updates/list.html+5
@@ -10,6 +10,11 @@
10{% endblock description %}
10{% endblock description %}
11
11
12{% block bodyclasses %}class="updates"{% endblock bodyclasses %}
12{% block bodyclasses %}class="updates"{% endblock bodyclasses %}
13+
14+{% block image %}
15+ <meta name="twitter:image" content="https://media.urbit.org/logo/urbit-logo-card.png">
16+{% endblock image %}
17+
13{% block content %}
18{% block content %}
14<!-- header -->
19<!-- header -->
15<nav class="mt4 full fourth-1-md fourth-1-lg mb3 mb0-m mb0-l mb0-xl">
20<nav class="mt4 full fourth-1-md fourth-1-lg mb3 mb0-m mb0-l mb0-xl">