4a19f20383
Add a page/site configuration variable named "language", which can be set either in _config.yml or in a front matter in order to customize value of "lang" attribute on <html> element. Previously, it was hardcoded to "en".
27 lines
457 B
HTML
27 lines
457 B
HTML
---
|
|
common-css:
|
|
- "/css/bootstrap.min.css"
|
|
- "/css/main-minimal.css"
|
|
common-js:
|
|
- "/js/jquery-1.11.2.min.js"
|
|
- "/js/bootstrap.min.js"
|
|
---
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="{{ page.language | default: site.language | default: 'en' }}">
|
|
|
|
{% include head.html %}
|
|
|
|
<body>
|
|
|
|
<div role="main" class="container main-content">
|
|
{{ content }}
|
|
</div>
|
|
|
|
{% include footer-minimal.html %}
|
|
|
|
{% include footer-scripts.html %}
|
|
|
|
</body>
|
|
</html>
|