Repos / hi.imnhan.com / cd54931375
commit cd549313757a77975d196d153de1f62a9d494625
Author: nhanb <thanhnhan483@gmail.com>
Date: Mon May 13 11:52:03 2013 +0700
done basic setup
diff --git a/Makefile b/Makefile
index 39c9738..1e5b1bf 100644
--- a/Makefile
+++ b/Makefile
@@ -83,6 +83,6 @@ s3_upload: publish
github: publish
ghp-import $(OUTPUTDIR)
- git push origin gh-pages
+ git push git@github.com:nhanb/nhanb.github.io.git gh-pages:master
.PHONY: html help clean regenerate serve devserver publish ssh_upload rsync_upload dropbox_upload ftp_upload s3_upload github
diff --git a/content/extra/README.markdown b/content/extra/README.markdown
new file mode 100644
index 0000000..4e719ff
--- /dev/null
+++ b/content/extra/README.markdown
@@ -0,0 +1,3 @@
+# Static content for blog.nerdyweekly.com
+
+This repo contains generated HTML only. For markdown sources visit https://github.com/nhanb/blog
diff --git a/pelicanconf.py b/pelicanconf.py
index a14f27d..20dae45 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
-AUTHOR = u'Bui Thanh Nhan'
+AUTHOR = u'Bùi Thành Nhân'
SITENAME = u'Nhanb'
SITEURL = ''
@@ -16,10 +16,10 @@
TRANSLATION_FEED_ATOM = None
# Blogroll
-LINKS = (('Pelican', 'http://getpelican.com/'),
- ('Python.org', 'http://python.org/'),
- ('Jinja2', 'http://jinja.pocoo.org/'),
- ('You can modify those links in your config file', '#'),)
+LINKS = (('Pelican', 'http://getpelican.com/'),
+ ('Python.org', 'http://python.org/'),
+ ('Jinja2', 'http://jinja.pocoo.org/')
+ )
# Social widget
SOCIAL = (('You can add links in your config file', '#'),
diff --git a/publishconf.py b/publishconf.py
index 9e705ca..fbb2e89 100644
--- a/publishconf.py
+++ b/publishconf.py
@@ -10,8 +10,8 @@
sys.path.append(os.curdir)
from pelicanconf import *
-SITEURL = 'http://blog.nerdyweekly.com/blog'
-RELATIVE_URLS = False
+SITEURL = 'http://nhanb.github.io/blog'
+RELATIVE_URLS = True
FEED_ALL_ATOM = 'feeds/all.atom.xml'
CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml'
@@ -19,7 +19,8 @@
DELETE_OUTPUT_DIRECTORY = True
# Copy CNAME file to output
-FILES_TO_COPY = (('extra/CNAME', 'CNAME'),)
+FILES_TO_COPY = (('extra/CNAME', 'CNAME'),
+ ('extra/README.markdown', 'README.markdown'))
# Following items are often useful when publishing