Merge pull request #5 from eknowlton/fix/config-default-lang

fixed lang in the newer version of zola
pull/6/head
José Lopes 3 years ago committed by GitHub
commit adb67922d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -6,7 +6,7 @@ publish = "public"
command = "zola build"
[build.environment]
ZOLA_VERSION = "0.10.1"
ZOLA_VERSION = "0.14.0"
[context.deploy-preview]
command = "zola build --base-url $DEPLOY_PRIME_URL"

@ -1,7 +1,7 @@
{% import "macros.html" as macro %}
<!DOCTYPE html>
<html lang="{% if page.extra.lang %}{{ page.extra.lang }}{% else %}{{ config.default_language }}{% endif %}" itemscope itemtype="http://schema.org/Blog">
<html lang="{% if page.extra.lang %}{{ page.extra.lang }}{% else %}{{ lang }}{% endif %}" itemscope itemtype="http://schema.org/Blog">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="content-type" content="text/html; charset=utf-8">

Loading…
Cancel
Save