From ef0f3d76d26aa7180d86ebcbdfb9638116496b9e Mon Sep 17 00:00:00 2001 From: Cailean Finn Date: Thu, 25 Jul 2024 17:15:00 +0100 Subject: [PATCH] description update --- build.py | 7 ++ public/about.html | 4 +- public/articles/(o)machine.html | 4 +- public/articles/ai-x-body.html | 4 +- public/articles/beauty-and-the-beep.html | 4 +- public/articles/data.html | 4 +- public/articles/dwelling.html | 4 +- public/articles/electronic-image.html | 4 +- public/articles/latent-mirror.html | 4 +- public/articles/moloch.html | 4 +- public/articles/undefined.html | 4 +- public/css/styles.css | 4 + public/gallery.html | 150 +++++++++++------------ public/index.html | 4 +- public/list.html | 4 +- templates/_base.html | 4 +- templates/campfire.html | 7 ++ 17 files changed, 119 insertions(+), 101 deletions(-) create mode 100644 templates/campfire.html diff --git a/build.py b/build.py index 789860b..ba34923 100644 --- a/build.py +++ b/build.py @@ -24,6 +24,7 @@ class Website: self.fetch_tags() self.create_list() self.build_about() + self.build_campfire() self.fetch_all_images() self.create_json('public/json/articles.json') @@ -108,6 +109,12 @@ class Website: with open(os.path.join('public', 'about.html'), 'w', encoding='utf8') as output_file: output_file.write(html_output) + def build_campfire(self): + template = self.env.get_template('campfire.html') + html_output = template.render( + content=None + ) + def format_content(self, content): # convert all (link)(src) to tags content = re.sub(r'\(([^)]+)\)\[([^\]]+)\]', r'\1', content) diff --git a/public/about.html b/public/about.html index 154ced3..0c9f3d7 100644 --- a/public/about.html +++ b/public/about.html @@ -3,8 +3,8 @@ - - + + diff --git a/public/articles/(o)machine.html b/public/articles/(o)machine.html index 6ceaa44..eda6745 100644 --- a/public/articles/(o)machine.html +++ b/public/articles/(o)machine.html @@ -3,8 +3,8 @@ - - + + diff --git a/public/articles/ai-x-body.html b/public/articles/ai-x-body.html index 71bf3d4..32a966a 100644 --- a/public/articles/ai-x-body.html +++ b/public/articles/ai-x-body.html @@ -3,8 +3,8 @@ - - + + diff --git a/public/articles/beauty-and-the-beep.html b/public/articles/beauty-and-the-beep.html index 653ec2c..4b96142 100644 --- a/public/articles/beauty-and-the-beep.html +++ b/public/articles/beauty-and-the-beep.html @@ -3,8 +3,8 @@ - - + + diff --git a/public/articles/data.html b/public/articles/data.html index 578211c..fa26cea 100644 --- a/public/articles/data.html +++ b/public/articles/data.html @@ -3,8 +3,8 @@ - - + + diff --git a/public/articles/dwelling.html b/public/articles/dwelling.html index a854f18..11e8cee 100644 --- a/public/articles/dwelling.html +++ b/public/articles/dwelling.html @@ -3,8 +3,8 @@ - - + + diff --git a/public/articles/electronic-image.html b/public/articles/electronic-image.html index 48e94b4..6b30ef6 100644 --- a/public/articles/electronic-image.html +++ b/public/articles/electronic-image.html @@ -3,8 +3,8 @@ - - + + diff --git a/public/articles/latent-mirror.html b/public/articles/latent-mirror.html index 74988df..88364b1 100644 --- a/public/articles/latent-mirror.html +++ b/public/articles/latent-mirror.html @@ -3,8 +3,8 @@ - - + + diff --git a/public/articles/moloch.html b/public/articles/moloch.html index a234e72..fb0b762 100644 --- a/public/articles/moloch.html +++ b/public/articles/moloch.html @@ -3,8 +3,8 @@ - - + + diff --git a/public/articles/undefined.html b/public/articles/undefined.html index b0a2de4..3378520 100644 --- a/public/articles/undefined.html +++ b/public/articles/undefined.html @@ -3,8 +3,8 @@ - - + + diff --git a/public/css/styles.css b/public/css/styles.css index 27d8355..3f33539 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -512,6 +512,10 @@ body { margin: 0; } + #campfire-cont { + + } + diff --git a/public/gallery.html b/public/gallery.html index 2ad375a..3767725 100644 --- a/public/gallery.html +++ b/public/gallery.html @@ -3,8 +3,8 @@ - - + + @@ -34,158 +34,158 @@
diff --git a/public/index.html b/public/index.html index 139c3a6..6441369 100644 --- a/public/index.html +++ b/public/index.html @@ -3,8 +3,8 @@ - - + + diff --git a/public/list.html b/public/list.html index 3761a7c..55e585a 100644 --- a/public/list.html +++ b/public/list.html @@ -3,8 +3,8 @@ - - + + diff --git a/templates/_base.html b/templates/_base.html index 1cb8043..b7e4a6e 100644 --- a/templates/_base.html +++ b/templates/_base.html @@ -3,8 +3,8 @@ - - + + diff --git a/templates/campfire.html b/templates/campfire.html new file mode 100644 index 0000000..0607000 --- /dev/null +++ b/templates/campfire.html @@ -0,0 +1,7 @@ +{% extends "_base.html" %} + +{% block content %} +
+ +
+{% endblock %}