mirror of https://gitlab.com/curben/blog
fix(theme): unify language config
This commit is contained in:
parent
83067c6d5d
commit
a33601013b
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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')) { %>
|
||||||
|
|
Loading…
Reference in New Issue