fix(theme): unify language config

This commit is contained in:
curben 2019-08-30 17:18:23 +01:00
parent 83067c6d5d
commit a33601013b
No known key found for this signature in database
GPG Key ID: 5D9DB57A25D34EE3
2 changed files with 2 additions and 5 deletions

View File

@ -7,7 +7,7 @@ title: Curben
subtitle: subtitle:
description: description:
author: curben author: curben
language: language: en
timezone: timezone:
# URL # URL
@ -93,9 +93,6 @@ feed:
# theme config # theme config
theme_config: theme_config:
# Lang
language: en
# Dark Mode # Dark Mode
dark: true dark: true

View File

@ -1,5 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="<%= theme.language %>"> <html lang="<%= config.language %>">
<%- partial('_partial/head') %> <%- partial('_partial/head') %>
<%/* set /about page to use "home" page layout */%> <%/* set /about page to use "home" page layout */%>
<% if (is_current('about/index.html')) { %> <% if (is_current('about/index.html')) { %>