Adding page titles to all templates.
commit1a43e121e771c23b6f4bf3da7fa3279b01509986
authorMatilde Park <matilde@park.computer>
dateWed 26 Jun 2019, 12:32 (7 years ago)
parente3a0fdc
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/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" %}