Skip to content

Commit

Permalink
fix(lang): do not override default value of DEFAULT_LANG set by Pelican
Browse files Browse the repository at this point in the history
  • Loading branch information
talha131 committed Aug 10, 2019
1 parent 7723fac commit d6c60c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion documentation/pelicanconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# Regional Settings
TIMEZONE = "Asia/Karachi"
DATE_FORMATS = {"en": "%b %d, %Y"}
DEFAULT_LANG = "en"

# Plugins and extensions
MARKDOWN = {
Expand Down
2 changes: 1 addition & 1 deletion templates/base.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="{{ DEFAULT_LANG | default("en-US") }}">
<html lang="{{ DEFAULT_LANG }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
Expand Down

0 comments on commit d6c60c2

Please sign in to comment.