添加site app

sh_branch
车亮亮 9 years ago
parent df3218fa06
commit 048713eaeb

3
.gitignore vendored

@ -68,4 +68,5 @@ migrations/
!migrations/__init__.py
collectedstatic/
DjangoBlog/whoosh_index/
google93fd32dbd906620a.html
google93fd32dbd906620a.html
baidu_verify_FlHL7cUyC9.html

@ -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

@ -12,3 +12,5 @@ python-slugify
requests
Unidecode
Whoosh
mistune
pygments

@ -6,7 +6,10 @@
<a href="{{ SITE_BASE_URL }}sitemap.xml" title="SiteMap">
SiteMap
</a>
&nbsp;|&nbsp;
<a href="{{ SITE_BASE_URL }}feed" title="Rss Feed">
Rss Feed
</a>
|&nbsp; Hosting On&nbsp;
<a href="https://www.linode.com/?r=b0d38794d05ef8816b357a929106e89b7c6452f9" target="blank" rel="nofollow">Linode</a>
|&nbsp;

Loading…
Cancel
Save