diff --git a/.gitignore b/.gitignore index d4e9783..c83ca89 100644 --- a/.gitignore +++ b/.gitignore @@ -68,4 +68,5 @@ migrations/ !migrations/__init__.py collectedstatic/ DjangoBlog/whoosh_index/ -google93fd32dbd906620a.html \ No newline at end of file +google93fd32dbd906620a.html +baidu_verify_FlHL7cUyC9.html \ No newline at end of file diff --git a/DjangoBlog/settings.py b/DjangoBlog/settings.py index 8275a19..261fe2c 100644 --- a/DjangoBlog/settings.py +++ b/DjangoBlog/settings.py @@ -35,6 +35,7 @@ INSTALLED_APPS = [ 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', + 'django.contrib.sites', 'django.contrib.sitemaps', 'pagedown', 'haystack', @@ -195,3 +196,5 @@ OAHUTH = { 'callbackurl': 'http://blog.lylinux.org/oauth/weibo' } } + +SITE_ID = 2 \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 925063a..6905087 100644 --- a/requirements.txt +++ b/requirements.txt @@ -12,3 +12,5 @@ python-slugify requests Unidecode Whoosh +mistune +pygments \ No newline at end of file diff --git a/templates/share_layout/footer.html b/templates/share_layout/footer.html index ea92a21..c74e394 100644 --- a/templates/share_layout/footer.html +++ b/templates/share_layout/footer.html @@ -6,7 +6,10 @@ SiteMap - +  |  + + Rss Feed + |  Hosting On  Linode