fix: set language to en-GB

This commit is contained in:
curben 2019-10-27 03:28:11 +00:00
parent e96eae0f97
commit 98d2ed587e
4 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ title: Curben
subtitle:
description:
author: curben
language: en
language: en-GB
timezone:
# URL

View File

@ -2,7 +2,7 @@
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Content-Language: en
Content-Language: en-GB
Content-Security-Policy: default-src 'self'; child-src 'none'; connect-src 'none'; font-src 'none'; frame-src 'none'; img-src 'self'; manifest-src 'none'; media-src 'none'; object-src 'none'; prefetch-src 'none'; script-src 'self'; style-src 'self'; worker-src 'none'; base-uri 'none'; form-action https://duckduckgo.com; frame-ancestors 'none'; block-all-mixed-content
Referrer-Policy: no-referrer
Strict-Transport-Security: max-age=31536000

View File

@ -42,7 +42,7 @@ function openGraphHelper () {
const siteName = config.subtitle || theme.nickname || false
const published = page.date || false
const updated = page.lastUpdated || false
const language = 'en_GB'
const language = config.language.replace('-', '_')
let result = ''
if (description) {