on master help sign in
Adding page titles to all templates.
1a43e12Matilde Park
templates/base.html+1−1
@@ -9,7 +9,7 @@
9 <meta name="author" content="{{ config.extra.author.name }}">
9 <meta name="author" content="{{ config.extra.author.name }}">
10 <link rel="icon" type="image/png" href="/images/favicon.ico" />
10 <link rel="icon" type="image/png" href="/images/favicon.ico" />
11 <link rel="alternative" type="application/rss+xml" title="Urbit RSS" href="/rss.xml" />
11 <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>
13 <!-- stylesheets -->
13 <!-- stylesheets -->
14 <link href="//cdn-images.mailchimp.com/embedcode/horizontal-slim-10_7.css" rel="stylesheet" type="text/css">
14 <link href="//cdn-images.mailchimp.com/embedcode/horizontal-slim-10_7.css" rel="stylesheet" type="text/css">
15 <style type="text/css">
15 <style type="text/css">
templates/doc.html+1−1
@@ -1,5 +1,5 @@
1{% extends "base.html" %}
1{% extends "base.html" %}
2−
2+{% block title %} {{ page.title }} {% endblock title %}
3{% block content %}
3{% block content %}
4<!-- header -->
4<!-- header -->
5{% include "partials/navigation.html" %}
5{% include "partials/navigation.html" %}
templates/index.html+1−1
@@ -1,5 +1,5 @@
1{% extends "base.html" %}
1{% extends "base.html" %}
2−
2+{% block title %} {{ section.title }} {% endblock title %}
3{% block content %}
3{% block content %}
4<div class="wrapper">
4<div class="wrapper">
5 <div class="container">
5 <div class="container">
templates/page.html+1−1
@@ -1,5 +1,5 @@
1{% extends "base.html" %}
1{% extends "base.html" %}
2−
2+{% block title %} {{ page.title }} {% endblock title %}
3{% block content %}
3{% block content %}
4<!-- header -->
4<!-- header -->
5{% include "partials/navigation.html" %}
5{% include "partials/navigation.html" %}
templates/primer.html+1−1
@@ -6,7 +6,7 @@
6 <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 <meta name="viewport" content="width=device-width, initial-scale=1.0">
7 <meta name="description" content="{{ config.description }}">
7 <meta name="description" content="{{ config.description }}">
8 <meta name="author" content="{{ config.extra.author.name }}">
8 <meta name="author" content="{{ config.extra.author.name }}">
9− <title>{{ config.title }}</title>
9+ <title>Primer - {{ config.title }}</title>
10 <!-- stylesheets -->
10 <!-- stylesheets -->
11 <link rel="stylesheet" href="{{ config.base_url }}/styles.css" >
11 <link rel="stylesheet" href="{{ config.base_url }}/styles.css" >
12 <link rel="stylesheet" href="{{ config.base_url }}/primer.css" >
12 <link rel="stylesheet" href="{{ config.base_url }}/primer.css" >
templates/sections/docs.html+1−1
@@ -1,5 +1,5 @@
1{% extends "base.html" %}
1{% extends "base.html" %}
2−
2+{% block title %} {{ section.title }} {% endblock title %}
3{% block content %}
3{% block content %}
4<!-- header -->
4<!-- header -->
5{% include "partials/navigation.html" %}
5{% include "partials/navigation.html" %}
templates/sections/docs/chapters.html+1−1
@@ -1,5 +1,5 @@
1{% extends "base.html" %}
1{% extends "base.html" %}
2−
2+{% block title %} {{ section.title }} {% endblock title %}
3{% block content %}
3{% block content %}
4<!-- header -->
4<!-- header -->
5{% include "partials/navigation.html" %}
5{% include "partials/navigation.html" %}