Browse Source

Keep the page title in the browser title too

master
Julio Biason 4 years ago
parent
commit
233094db73
  1. 2
      templates/index.html
  2. 4
      templates/page.html

2
templates/index.html

@ -7,7 +7,7 @@
<html lang="{%- if config.default_language -%}{{ config.default_language }}{%- else -%}en{%- endif -%}">
<head>
<title>{%- block title %}{{ config.title }}{% endblock title -%}</title>
<title>{%- block title %}[ {{ config.title }} ]{% endblock title -%}</title>
{{ head_macros::head(config=config) }}
{%- if config.generate_rss %}

4
templates/page.html

@ -1,5 +1,9 @@
{% extends "index.html" %}
{% block title %}
{{ super() }} {{ page.title }}
{% endblock %}
{% block content %}
<div class="post">
{{ post_macros::header(page=page) }}

Loading…
Cancel
Save