Skip to content

Commit 51844fd

Browse files
fix layouts
1 parent 7affb5f commit 51844fd

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

src/_data/site.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"title": "TipsByText survey",
3-
"description": "",
4-
"lang": "en"
2+
"lang": "en",
3+
"description": "The Rafaj.dev is blog talking about technologies, protocols, blogging and improving web as is. It also describes Daniel Rafaj as person. You can also find curation of content Daniel Rafaj finds worthwile.",
4+
"author": "Daniel Rafaj"
55
}

src/_includes/extends/html5boilerplate.njk

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
<!doctype html>
2-
<html class="no-js" lang="{{ site.lang }}">
2+
<html class="no-js" lang="{{ lang }}">
33

44
<head>
55
{% block headMeta %}
6+
<title>{{ title }}</title>
67
<meta charset="utf-8">
78
<meta http-equiv="x-ua-compatible" content="ie=edge">
8-
<meta name="description" content="{{ site.description }}">
9+
<meta name="description" content="{{ description }}">
10+
<meta name="author" content="{{ author }}">
911
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
1012
<meta name="theme-color" content="white"/>
11-
<meta name="robots" content="noindex">
13+
<meta name="robots" content="noindex"> <!-- TODO remove this when you are happy with site -->
1214
{% endblock %}
1315

1416
{% block headMisc %}

src/_layouts/base.njk

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{% extends "extends/html5boilerplate.njk" %}
22

3-
{% set title = (title + " - " + site.title) if title else (site.title) %}
3+
{#% set title = (title + " - " + site.title) if title else (site.title) %#}
44
{% set lang = lang | default(site.lang) %}
5+
{% set description = description | default(site.description) %}
6+
{% set author = author | default(site.author) %}
57

68
{% block headStyles %}
79
{% include "partials/styles-critical.njk" %}

0 commit comments

Comments
 (0)