summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/builder/base.py4
-rw-r--r--design/templates/base.html2
2 files changed, 3 insertions, 3 deletions
diff --git a/app/builder/base.py b/app/builder/base.py
index bfbbf72..7d57c5e 100644
--- a/app/builder/base.py
+++ b/app/builder/base.py
@@ -44,7 +44,7 @@ class Build():
path = '%s%s/' %(base_path, page+1)
url = '/%s%s/' %(base_path, str(page+1))
page_url = base_path+'%d/'
- response = c.post(url, {'page_url': page_url, 'page': int(page)})
+ response = c.post(url, {'page_url': page_url, 'page': int(page), 'MEDIA_URL':settings.BAKED_MEDIA_URL})
if page == 0:
self.write_file(base_path,str(response.content))
self.write_file(path,str(response.content))
@@ -199,7 +199,7 @@ class BuildSitemap(Build):
class BuildWritingFeed(Build):
def build(self):
- qs = Entry.objects.filter(status__exact=1).order_by('-pub_date')[:20]
+ qs = get_model('blog', 'entry').objects.filter(status__exact=1).order_by('-pub_date')[:20]
c = Context({'object_list':qs,'SITE_URL':settings.SITE_URL})
t = render_to_string('feed.xml',c).encode('utf-8')
fpath = '%s' %('feed/',)
diff --git a/design/templates/base.html b/design/templates/base.html
index 8f07139..f2132eb 100644
--- a/design/templates/base.html
+++ b/design/templates/base.html
@@ -38,7 +38,7 @@
<ul>
<li id="stories"><a href="/writing/1/" title="An archive of writings from around the world">Writing</a>,</li>
<li id="photos"><a href="/photos/1/" title="Photos from travels around the world">Photos</a>,</li>
- <li id="guides"><a href="/travel-guide/1/" title="Travel Guides, Tips, Tricks and Recommendations">Guides</a>,</li>
+ <!--<li id="guides"><a href="/travel-guide/1/" title="Travel Guides, Tips, Tricks and Recommendations">Guides</a>,</li>-->
<li id="maps"><a href="/map/" title="Maps and miscellanea">Map</a>,</li>
<li id="projects" ><a href="/projects/" title="Luxagraf: Projects">Projects</a>,</li>
<li id="etc"><a href="/about/" title="About Luxagraf">Etc</a></li>