on master help sign in
Merge pull request #129 from matildepark/master

Adding page titles to all templates (#99)

commitca7f6308dd6600a4129b1495b310102109ea92b4 authorMorgan Sutherland <msutherl@users.noreply.github.com> dateMon 1 Jul 2019, 10:22 (7 years ago) parent9febebc322333b
9 files changed+9−9
templates/base.html+1−1 templates/doc.html+1−1 templates/index.html+1−1 templates/page.html+1−1 templates/posts/list.html+1−1 templates/posts/single.html+1−1 templates/primer.html+1−1 templates/sections/docs.html+1−1 templates/sections/docs/chapters.html+1−1
templates/base.html+1−1
@@ -9,7 +9,7 @@
99 <meta name="author" content="{{ config.extra.author.name }}">
1010 <link rel="icon" type="image/png" href="/images/favicon.ico" />
1111 <link rel="alternative" type="application/rss+xml" title="Urbit RSS" href="/rss.xml" />
12− <title>{{ config.title }}</title>
12+ <title>{% block title %}{% endblock title %} - {{ config.title }}</title>
1313 <!-- stylesheets -->
1414 <link href="//cdn-images.mailchimp.com/embedcode/horizontal-slim-10_7.css" rel="stylesheet" type="text/css">
1515 <style type="text/css">
templates/doc.html+1−1
@@ -1,5 +1,5 @@
11{% extends "base.html" %}
2−
2+{% block title %} {{ page.title }} {% endblock title %}
33{% block content %}
44<!-- header -->
55{% include "partials/navigation.html" %}
templates/index.html+1−1
@@ -1,5 +1,5 @@
11{% extends "base.html" %}
2−
2+{% block title %} {{ section.title }} {% endblock title %}
33{% block content %}
44<div class="wrapper">
55 <div class="container">
templates/page.html+1−1
@@ -1,5 +1,5 @@
11{% extends "base.html" %}
2−
2+{% block title %} {{ page.title }} {% endblock title %}
33{% block content %}
44<!-- header -->
55{% include "partials/navigation.html" %}
templates/posts/list.html+1−1
@@ -1,5 +1,5 @@
11{% extends "base.html" %}
2−
2+{% block title %} Posts {% endblock title %}
33{% block content %}
44<!-- header -->
55{% include "partials/navigation.html" %}
templates/posts/single.html+1−1
@@ -1,5 +1,5 @@
11{% extends "base.html" %}
2−
2+{% block title %} {{ term.name }} {% endblock title %}
33{% block content %}
44<!-- header -->
55{% include "partials/navigation.html" %}
templates/primer.html+1−1
@@ -6,7 +6,7 @@
66 <meta name="viewport" content="width=device-width, initial-scale=1.0">
77 <meta name="description" content="{{ config.description }}">
88 <meta name="author" content="{{ config.extra.author.name }}">
9− <title>{{ config.title }}</title>
9+ <title>Primer - {{ config.title }}</title>
1010 <!-- stylesheets -->
1111 <link rel="stylesheet" href="{{ config.base_url }}/styles.css" >
1212 <link rel="stylesheet" href="{{ config.base_url }}/primer.css" >
templates/sections/docs.html+1−1
@@ -1,5 +1,5 @@
11{% extends "base.html" %}
2−
2+{% block title %} {{ section.title }} {% endblock title %}
33{% block content %}
44<!-- header -->
55{% include "partials/navigation.html" %}
templates/sections/docs/chapters.html+1−1
@@ -1,5 +1,5 @@
11{% extends "base.html" %}
2−
2+{% block title %} {{ section.title }} {% endblock title %}
33{% block content %}
44<!-- header -->
55{% include "partials/navigation.html" %}