diff options
author | luxagraf <sng@luxagraf.net> | 2019-05-03 12:24:25 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2019-05-03 12:24:25 -0500 |
commit | e43cbc1a487b8ea45c05a4b394a7c60ffc4c0ba4 (patch) | |
tree | 8ef4800ef56bdadbc88158ec50f96e40b514b882 /app/blog/build.py | |
parent | 0e59ad7de18bffcf6a62f9ee61275b4951c27358 (diff) |
added build system
Diffstat (limited to 'app/blog/build.py')
-rw-r--r-- | app/blog/build.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/app/blog/build.py b/app/blog/build.py index 392e991..10553a6 100644 --- a/app/blog/build.py +++ b/app/blog/build.py @@ -16,7 +16,16 @@ class BuildEssays(BuildNew): response = self.client.get('/essays/') self.write_file('essays/', response.content) + def build_homepage(self): + response = self.client.get('/') + self.write_file('', response.content) + def essaybuilder(): - j = BuildEssays("essays", "essay") + j = BuildEssays("blog", "Entry") j.build() + + +def homebuilder(): + j = BuildEssays("blog", "Entry") + j.build_homepage() |