diff --git a/bin/django_start b/bin/django_start index c65d59b7d..1bfb2bef1 100755 --- a/bin/django_start +++ b/bin/django_start @@ -3,8 +3,8 @@ NAME="djangoblog" # Name of the application DJANGODIR=//var/www/DjangoBlog # Django project directory SOCKFILE=/var/www/DjangoBlog/run/gunicorn.sock # we will communicte using this unix socket -USER=www-data # the user to run as -GROUP=www-data # the group to run as +USER=root # the user to run as +GROUP=root # the group to run as NUM_WORKERS=3 # how many worker processes should Gunicorn spawn DJANGO_SETTINGS_MODULE=DjangoBlog.settings # which settings file should Django use DJANGO_WSGI_MODULE=DjangoBlog.wsgi # WSGI module name diff --git a/templates/share_layout/analyticscode.html b/templates/share_layout/analyticscode.html index 9f7b933ce..f8165f029 100644 --- a/templates/share_layout/analyticscode.html +++ b/templates/share_layout/analyticscode.html @@ -1,12 +1,9 @@ \ No newline at end of file + var _hmt = _hmt || []; + (function () { + var hm = document.createElement("script"); + hm.src = "https://hm.baidu.com/hm.js?30dd00aec5f76607ba37c6770ae48e45"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(hm, s); + })(); + +百度统计 \ No newline at end of file