[Debbits-commit] [SCM] Git repository for debbits branch, master, updated. ec964277f051435c0978c8e67d816b2ae869271d

Ana Beatriz Guerrero ?==?UTF-8?Q?López ana at ekaia.org
Mon Mar 25 19:05:55 UTC 2013


The following commit has been merged in the master branch:
commit ec964277f051435c0978c8e67d816b2ae869271d
Author: Ana Beatriz Guerrero López <ana at ekaia.org>
Date:   Mon Mar 25 20:07:44 2013 +0100

    change url settings to use year/month/slug.html

diff --git a/pelicanconf.py b/pelicanconf.py
index e1e584a..3bbea92 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -14,8 +14,13 @@ THEME = "theme-bits"
 DEFAULT_PAGINATION = 5
 DISPLAY_PAGES_ON_MENU = True
 SUMMARY_MAX_LENGTH = None
+
+# URL settings
 # We might want this for publication
 #RELATIVE_URLS = False
+ARTICLE_URL = '{date:%Y}/{date:%m}/{slug}.html'
+ARTICLE_SAVE_AS = '{date:%Y}/{date:%m}/{slug}.html'
+
 
 # Feeds settings
 FEED_DOMAIN = SITEURL

-- 
Git repository for debbits



More information about the Debbits-commit mailing list