diff --git a/sigal/settings.py b/sigal/settings.py index 746c37f..700de42 100644 --- a/sigal/settings.py +++ b/sigal/settings.py @@ -47,6 +47,7 @@ _DEFAULT_CONFIG = { 'index_in_url': False, 'jpg_options': {'quality': 85, 'optimize': True, 'progressive': True}, 'keep_orig': False, + 'html_language': 'en', 'leaflet_provider': 'OpenStreetMap.Mapnik', 'links': '', 'locale': '', diff --git a/sigal/templates/sigal.conf.py b/sigal/templates/sigal.conf.py index b9f679a..42c3039 100644 --- a/sigal/templates/sigal.conf.py +++ b/sigal/templates/sigal.conf.py @@ -193,6 +193,9 @@ ignore_files = [] # Specify a different locale. If set to '', the default locale is used. # locale = '' +# Define language used on main tag in templates +# html_language = 'en' + # List of files to copy from the source directory to the destination. # A symbolic link is used if ``orig_link`` is set to True (see above). # files_to_copy = (('extra/robots.txt', 'robots.txt'), diff --git a/sigal/themes/colorbox/templates/base.html b/sigal/themes/colorbox/templates/base.html index ede71de..ef670e2 100644 --- a/sigal/themes/colorbox/templates/base.html +++ b/sigal/themes/colorbox/templates/base.html @@ -1,5 +1,5 @@ - +
{% block head %} diff --git a/sigal/themes/galleria/templates/index.html b/sigal/themes/galleria/templates/index.html index f72cf98..706a698 100644 --- a/sigal/themes/galleria/templates/index.html +++ b/sigal/themes/galleria/templates/index.html @@ -1,5 +1,5 @@ - + diff --git a/sigal/themes/photoswipe/templates/index.html b/sigal/themes/photoswipe/templates/index.html index 557d910..b78373b 100644 --- a/sigal/themes/photoswipe/templates/index.html +++ b/sigal/themes/photoswipe/templates/index.html @@ -1,5 +1,5 @@ - + {% block head %}