Skip to content

Commit

Permalink
Merge 90ac06a into b7cd5e9
Browse files Browse the repository at this point in the history
  • Loading branch information
liangliangyy committed Oct 10, 2017
2 parents b7cd5e9 + 90ac06a commit 0cc62a4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
4 changes: 2 additions & 2 deletions bin/django_start
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
18 changes: 11 additions & 7 deletions templates/share_layout/analyticscode.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
<script type="text/javascript">
var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cspan id='cnzz_stat_icon_1261145394'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s4.cnzz.com/stat.php%3Fid%3D1261145394%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));

(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
Expand All @@ -16,5 +13,12 @@

ga('create', 'UA-27354903-4', 'auto');
ga('send', 'pageview');

</script>
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);
})();
</script>
<a href="https://tongji.baidu.com/sc-web/3478620/home/ico?siteId=11261596" rel="nofollow">百度统计</a>

0 comments on commit 0cc62a4

Please sign in to comment.