Add site config and default title
This commit is contained in:
parent
1ff72cfd53
commit
0d316aac6c
2
app/config/sculpin_site.yml
Normal file
2
app/config/sculpin_site.yml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
title: Антон Вахрушев
|
@ -5,7 +5,13 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<link href="https://fonts.googleapis.com/css?family=PT+Serif&subset=cyrillic" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css?family=PT+Serif&subset=cyrillic" rel="stylesheet">
|
||||||
<link rel="stylesheet" type="text/css" href="/styles/app.css?v={{ date().timestamp }}">
|
<link rel="stylesheet" type="text/css" href="/styles/app.css?v={{ date().timestamp }}">
|
||||||
<title>{{ title|default('Антон Вахрушев') }}</title>
|
<title>
|
||||||
|
{% if page.title is defined %}
|
||||||
|
{{ page.title }} - {{ page.title }}
|
||||||
|
{% else %}
|
||||||
|
{{ site.title }}
|
||||||
|
{% endif %}
|
||||||
|
</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<main class="content">
|
<main class="content">
|
||||||
|
Loading…
Reference in New Issue
Block a user