Repos / hi.imnhan.com / 52769c4d02
commit 52769c4d025d035d35c1b798caa87c29d0ec1ac2
Author: nhanb <thanhnhan483@gmail.com>
Date:   Mon Nov 25 14:36:11 2013 +0700

    3.3 API change fix

diff --git a/content/fix-rmit-wifi-issue-with-ubuntu-13-04.md b/content/fix-rmit-wifi-issue-with-ubuntu-13-04.md
index b8bf491..b5c7769 100644
--- a/content/fix-rmit-wifi-issue-with-ubuntu-13-04.md
+++ b/content/fix-rmit-wifi-issue-with-ubuntu-13-04.md
@@ -15,7 +15,7 @@ ## The issue
 bundled in Ubuntu 13.04 has a bug that automatically turns CA certificate usage to *true* for any
 WPA2 wifi network, even if we choose to use none in the GUI.
 
-![RMIT wi-fi settings](/static/images/rmit_wifi.png)
+![RMIT wi-fi settings](/images/rmit_wifi.png)
 
 ## The solution
 
diff --git a/content/installing-programs-in-ubuntu.md b/content/installing-programs-in-ubuntu.md
index 06f204a..f4cc8b7 100644
--- a/content/installing-programs-in-ubuntu.md
+++ b/content/installing-programs-in-ubuntu.md
@@ -70,7 +70,7 @@ ## Packages
 different folders. Let's have a look at the files of `wget` - the downloader that's included in
 every major Linux distribution:
 
-![Wget files](/static/images/wget-installed-files.png)
+![Wget files](/images/wget-installed-files.png)
 
 It's not that the developers chose to annoy us by scattering them all over the place. It's simply
 complying to Linux structure: executable files go to **/usr/bin**, man pages (user manuals that
@@ -98,7 +98,7 @@ ## Packages
 and removals of programs. Ubuntu is based on Debian, so it inherits Debian's great package manager
 called **aptitude** (or simply `apt`). Let's take a look at wget's dependencies:
 
-![Wget files](/static/images/wget-dependencies.png)
+![Wget files](/images/wget-dependencies.png)
 
 The package manager maintains a list of available packages and their dependency/dependant
 relationships. For Ubuntu, the list is updated regularly on Canonical's official servers. Everytime
@@ -126,7 +126,7 @@ ## Synaptic, Ubuntu Software Center
 that provides a nice user interface that's easy to use, while internally it uses `apt` to do all
 the actual work.
 
-![Wget files](/static/images/wget-dependencies.png)
+![Wget files](/images/wget-dependencies.png)
 
 Ubuntu Software Center is more than a GUI wrapper for `apt`. It is something similar to Apple's
 appstore with all those program ratings and promotions. It's nice for beginners but the fact that
diff --git a/pelicanconf.py b/pelicanconf.py
index cbb7af7..a4ac0d1 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -19,18 +19,22 @@
 CATEGORY_FEED_ATOM = None
 TRANSLATION_FEED_ATOM = None
 
-STATIC_PATHS = ['images']
-
-# Copy static files to output
-FILES_TO_COPY = (('extra/CNAME', 'CNAME'),
-                 ('extra/README.markdown', 'README.markdown'),
-                 ('extra/favicon.ico', 'favicon.ico'),
-                 ('extra/favicon.png', 'favicon.png'),
-                 ('extra/cal.html', 'calendar/index.html'),
-                 ('extra/404.html', '404.html'),
-                 ('extra/google3f40dbd543a603fa.html',
-                  'google3f40dbd543a603fa.html'),
-                 )
+STATIC_PATHS = ['images', 'extra']
+
+EXTRA_PATH_METADATA = {
+    'extra/CNAME': {'path': 'CNAME'},
+    'extra/README.markdown': {'path': 'README.markdown'},
+    'extra/favicon.ico': {'path': 'favicon.ico'},
+    'extra/favicon.png': {'path': 'favicon.png'},
+    'extra/cal.html': {'path': 'calendar/index.html'},
+    'extra/404.html': {'path': '404.html'},
+    'extra/google3f40dbd543a603fa.html':
+    {'path': 'google3f40dbd543a603fa.html'}
+}
+
+## Copy static files to output
+#FILES_TO_COPY = (
+                 #)
 
 ARTICLE_URL = 'posts/{slug}/'
 ARTICLE_SAVE_AS = 'posts/{slug}/index.html'
diff --git a/publishconf.py b/publishconf.py
index 4c5310c..73a87df 100644
--- a/publishconf.py
+++ b/publishconf.py
@@ -15,7 +15,7 @@
 
 FEED_DOMAIN = SITEURL
 FEED_ALL_ATOM = 'feeds/all.atom.xml'
-FEED_ATOM = FEED_ALL_ATOM
+FEED_ATOM = 'feeds/atom.xml'
 CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml'
 
 DELETE_OUTPUT_DIRECTORY = True