Skip to content

Commit

Permalink
Suggested a more elegant way to handle the lang attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
KittyGiraudel authored Jun 14, 2016
1 parent 1aa4d64 commit 80c1a76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<html lang="{{ page.lang | default: site.lang | default: "en" }}">

{% include head.html %}

Expand Down

0 comments on commit 80c1a76

Please sign in to comment.