0.0.145 dynamic replace title
This commit is contained in:
@@ -25,7 +25,7 @@ SECRET_KEY = 'django-insecure-0lk552&eia*_v5q$c8((o4=0d6x_t4%y-*x9p=n05nydiu)s9-
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = True
|
||||
|
||||
ALLOWED_HOSTS = []
|
||||
ALLOWED_HOSTS = ['*']
|
||||
|
||||
|
||||
# Application definition
|
||||
|
||||
@@ -58,6 +58,7 @@ function renderContent (el=null) {
|
||||
data: JSON.stringify(data),
|
||||
success: function(data){
|
||||
document.querySelector(".content").innerHTML = data.html
|
||||
document.title = data.title
|
||||
window.scrollTo(0, 0);
|
||||
let lang = getLang()
|
||||
replaceHrefOnOnclick()
|
||||
|
||||
Reference in New Issue
Block a user