diff options
Diffstat (limited to 'app/builder/base.py')
-rw-r--r-- | app/builder/base.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/app/builder/base.py b/app/builder/base.py index 94f1eee..67a259e 100644 --- a/app/builder/base.py +++ b/app/builder/base.py @@ -123,19 +123,6 @@ class BuildNew(): self.write_file(path, response.content, ext='txt', filename=slug) - def build_amp_view(self): - ''' - Grab all the blog posts, render them to a template - string and write that out to the filesystem - ''' - for entry in self.get_model_queryset(): - # write AMP - response = self.client.get('%s.amp' % entry.get_absolute_url()) - path, slug = os.path.split(entry.get_absolute_url()) - path = '%s/' % path - self.write_file(path, response.content, ext='amp', filename=slug) - - def build_feed(self, url_name): """ Not called, but available for subclassing |