Skip to content

Commit 2cca09a

Browse files
author
Jordan McCullough
committed
Merge pull request #88 from github/intl-lang-template-tuning
Support language definition via template and config default
2 parents 0537b78 + a8a0550 commit 2cca09a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

_config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,6 @@ include:
2525
- _javascript
2626

2727
markdown: rdiscount
28+
29+
# Custom site configuration
30+
lang: en

_layouts/bare.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
---
44

55
<!DOCTYPE html>
6-
<html>
6+
<html lang="{% if page.lang %}{{ page.lang }}{% else %}{{ site.lang }}{% endif %}">
77
<head>
88
<title>{% if page.title %}{{ page.title }} • {% endif %}{{ site.title }}</title>
99
{% if page.description %}

0 commit comments

Comments
 (0)