Add locale setting

This commit is contained in:
Oliver Davies 2018-12-06 17:46:12 +00:00
parent 702c717473
commit 2920ff5096
2 changed files with 2 additions and 1 deletions

View file

@ -1 +1,2 @@
title: 'My New Sculpin Site'
locale: en

View file

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<html lang="{{ site.locale|default('en') }}">
<head>
<meta charset="UTF-8">
<title>{{ site.title }}</title>