app/helpers/blacklight/layout_helper_behavior.rb in blacklight-7.3.0 vs app/helpers/blacklight/layout_helper_behavior.rb in blacklight-7.4.0
- old
+ new
@@ -10,9 +10,16 @@
def show_content_classes
"#{main_content_classes} show-document"
end
##
+ # Attributes to add to the <html> tag (e.g. lang and dir)
+ # @return [Hash]
+ def html_tag_attributes
+ { lang: I18n.locale }
+ end
+
+ ##
# Classes added to a document's sidebar div
# @return [String]
def show_sidebar_classes
sidebar_classes
end