Skip to content

Commit

Permalink
feat: Add lang attribute to html tag
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Oct 4, 2024
1 parent 6dfb551 commit 22e5e22
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

### Added

- Add `lang` attribute to `html` tag.

## [0.30.5] - 2024-09-30

### Added
Expand Down
3 changes: 2 additions & 1 deletion cove/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
{% load static %}
{% load bootstrap3 %}
{% load i18n %}
<html>
{% get_current_language as LANGUAGE_CODE %}
<html lang="{{ LANGUAGE_CODE }}">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
{% block after_head %}
Expand Down

0 comments on commit 22e5e22

Please sign in to comment.