Add title block, override for pages
This commit is contained in:
parent
b840a2f068
commit
c11b10b3d0
|
@ -2,7 +2,7 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>{{ site.title }}</title>
|
<title>{% block title %}{{ site.title }}{% endblock %}</title>
|
||||||
<link href="/dist/css/app.css" rel="stylesheet">
|
<link href="/dist/css/app.css" rel="stylesheet">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700,900" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700,900" rel="stylesheet">
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
{% extends 'base' %}
|
{% extends 'base' %}
|
||||||
|
|
||||||
|
{% block title %}{{ page.title }} | {{ site.title }}{% endblock %}
|
||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
{% include 'layout/header' %}
|
{% include 'layout/header' %}
|
||||||
{% include 'layout/main-menu' %}
|
{% include 'layout/main-menu' %}
|
||||||
|
|
Reference in a new issue