diff --git a/copycat.py b/copycat.py new file mode 100644 index 0000000..65c88de --- /dev/null +++ b/copycat.py @@ -0,0 +1,28 @@ +from glob import glob +import os +from shutil import copy2 +import frontmatter +from pathlib import Path +from PIL import Image + + + +# from frontmatter import frontmatter +for folder in glob('projects/*'): + project = folder.replace('projects/', '') + with open(os.path.join(folder,project+'.md'), 'r') as f: + meta, content = frontmatter.parse(f.read()) + if 'cover' in meta: + cover = meta.get('cover') + file = Path(f'static/img2/{cover}') + if file.is_file(): + try: + with Image.open(file) as img: + print(f'Ok im copying {cover} to {project}') + f, e = os.path.splitext(cover) + img.save(os.path.join(folder, f + '.jpg')) + img.convert('RGB') + img.thumbnail((256,256)) + img.save(os.path.join(folder, 'thumb_' + cover), 'JPEG') + except: + print(f"Couldn't convert {cover}") diff --git a/flask_boat.py b/flask_boat.py index 4f3663b..11988f0 100644 --- a/flask_boat.py +++ b/flask_boat.py @@ -73,6 +73,35 @@ def render_home(): f.write(render_template("home.html", **home)) print('Rendered!') +def render_home_thumb(): + print('Rendering home with thumbnails') +# with open('/home/kamo/public_html/render.html', 'w') as f: + # get the basic info of the website from the /contents/home.md file + meta, content = get_md_contents("home.md") + projects_list = [] + for project in list_folders("./projects"): + project_info = get_md_contents(f"{project}.md", + f"./{projects}/{project}")[0] + project_date = datetime.strptime(project_info['date'], '%d/%m/%Y') + project_info['date'] = datetime.strftime(project_date, '%d %b, %y') + project_info['categories'].sort() + + project_info['slug'] = project + projects_list.append(project_info) + + projects_list.sort(reverse=True, key=lambda project: datetime.strptime( + project['date'], '%d %b, %y')) + + # get the list of the projects, the functions, and the corpora + home = { + **meta, + "content": content, + "projects": projects_list + } + # f.write(render_template("home.html", **home)) + # print('Rendered!') + return render_template("home2.html", **home) + # FLASK APP @@ -102,7 +131,8 @@ app.wsgi_app = PrefixMiddleware(app.wsgi_app, prefix='/soupboat/~kamo') # Homepage @app.route("/") def home_page(): - return send_from_directory(app.root_path, 'render.html') + return render_home_thumb() + # return send_from_directory(app.root_path, 'render.html') # For generic pages we can include a common template and change only the contents diff --git a/projects/api-worldbuilding/chimera.jpg b/projects/api-worldbuilding/chimera.jpg new file mode 100644 index 0000000..1cf9137 Binary files /dev/null and b/projects/api-worldbuilding/chimera.jpg differ diff --git a/projects/api-worldbuilding/thumb_chimera.jpg b/projects/api-worldbuilding/thumb_chimera.jpg new file mode 100644 index 0000000..c1af4db Binary files /dev/null and b/projects/api-worldbuilding/thumb_chimera.jpg differ diff --git a/projects/birds-press/birds_office.jpg b/projects/birds-press/birds_office.jpg new file mode 100644 index 0000000..490ee6a Binary files /dev/null and b/projects/birds-press/birds_office.jpg differ diff --git a/projects/birds-press/thumb_birds_office.jpg b/projects/birds-press/thumb_birds_office.jpg new file mode 100644 index 0000000..1486a01 Binary files /dev/null and b/projects/birds-press/thumb_birds_office.jpg differ diff --git a/projects/bonfire/fire.jpg b/projects/bonfire/fire.jpg new file mode 100644 index 0000000..bbd13fd Binary files /dev/null and b/projects/bonfire/fire.jpg differ diff --git a/projects/bonfire/thumb_fire.jpg b/projects/bonfire/thumb_fire.jpg new file mode 100644 index 0000000..3a77abc Binary files /dev/null and b/projects/bonfire/thumb_fire.jpg differ diff --git a/projects/chameleon/KecleonCelestialStorm122.jpg b/projects/chameleon/KecleonCelestialStorm122.jpg new file mode 100644 index 0000000..d1c22ed Binary files /dev/null and b/projects/chameleon/KecleonCelestialStorm122.jpg differ diff --git a/projects/chameleon/thumb_KecleonCelestialStorm122.jpg b/projects/chameleon/thumb_KecleonCelestialStorm122.jpg new file mode 100644 index 0000000..3a13fcc Binary files /dev/null and b/projects/chameleon/thumb_KecleonCelestialStorm122.jpg differ diff --git a/projects/chaotic-evil-puzzles/91AC-jbMPsL._AC_SL1500_.jpg b/projects/chaotic-evil-puzzles/91AC-jbMPsL._AC_SL1500_.jpg new file mode 100644 index 0000000..b028843 Binary files /dev/null and b/projects/chaotic-evil-puzzles/91AC-jbMPsL._AC_SL1500_.jpg differ diff --git a/projects/chaotic-evil-puzzles/thumb_91AC-jbMPsL._AC_SL1500_.jpg b/projects/chaotic-evil-puzzles/thumb_91AC-jbMPsL._AC_SL1500_.jpg new file mode 100644 index 0000000..d9dc8b0 Binary files /dev/null and b/projects/chaotic-evil-puzzles/thumb_91AC-jbMPsL._AC_SL1500_.jpg differ diff --git a/projects/cms-00/cms00.jpg b/projects/cms-00/cms00.jpg new file mode 100644 index 0000000..ee0fe59 Binary files /dev/null and b/projects/cms-00/cms00.jpg differ diff --git a/projects/cms-00/thumb_cms00.jpg b/projects/cms-00/thumb_cms00.jpg new file mode 100644 index 0000000..bed2f98 Binary files /dev/null and b/projects/cms-00/thumb_cms00.jpg differ diff --git a/projects/dlist/dlist.jpg b/projects/dlist/dlist.jpg new file mode 100644 index 0000000..a9b54bc Binary files /dev/null and b/projects/dlist/dlist.jpg differ diff --git a/projects/dlist/thumb_dlist.jpg b/projects/dlist/thumb_dlist.jpg new file mode 100644 index 0000000..40c6c2a Binary files /dev/null and b/projects/dlist/thumb_dlist.jpg differ diff --git a/projects/documentation-template/amazon-drones.jpg b/projects/documentation-template/amazon-drones.jpg new file mode 100644 index 0000000..102d764 Binary files /dev/null and b/projects/documentation-template/amazon-drones.jpg differ diff --git a/projects/documentation-template/amazon-drones.png b/projects/documentation-template/amazon-drones.png new file mode 100644 index 0000000..c5511bf Binary files /dev/null and b/projects/documentation-template/amazon-drones.png differ diff --git a/projects/documentation-template/thumb_amazon-drones.png b/projects/documentation-template/thumb_amazon-drones.png new file mode 100644 index 0000000..761cc3c Binary files /dev/null and b/projects/documentation-template/thumb_amazon-drones.png differ diff --git a/projects/drw/pidgeon.jpg b/projects/drw/pidgeon.jpg new file mode 100644 index 0000000..d866880 Binary files /dev/null and b/projects/drw/pidgeon.jpg differ diff --git a/projects/drw/thumb_pidgeon.jpg b/projects/drw/thumb_pidgeon.jpg new file mode 100644 index 0000000..77fd32f Binary files /dev/null and b/projects/drw/thumb_pidgeon.jpg differ diff --git a/projects/dyc/reasonable-animals.jpg b/projects/dyc/reasonable-animals.jpg new file mode 100644 index 0000000..da7f832 Binary files /dev/null and b/projects/dyc/reasonable-animals.jpg differ diff --git a/projects/dyc/thumb_reasonable-animals.jpg b/projects/dyc/thumb_reasonable-animals.jpg new file mode 100644 index 0000000..8d63036 Binary files /dev/null and b/projects/dyc/thumb_reasonable-animals.jpg differ diff --git a/projects/frana-futura/entrance.jpg b/projects/frana-futura/entrance.jpg index 6e3a891..66d040e 100644 Binary files a/projects/frana-futura/entrance.jpg and b/projects/frana-futura/entrance.jpg differ diff --git a/projects/frana-futura/thumb_entrance.jpg b/projects/frana-futura/thumb_entrance.jpg new file mode 100644 index 0000000..b2c4813 Binary files /dev/null and b/projects/frana-futura/thumb_entrance.jpg differ diff --git a/projects/gpp/birdu.jpg b/projects/gpp/birdu.jpg new file mode 100644 index 0000000..5582766 Binary files /dev/null and b/projects/gpp/birdu.jpg differ diff --git a/projects/gpp/thumb_birdu.jpg b/projects/gpp/thumb_birdu.jpg new file mode 100644 index 0000000..f1ec486 Binary files /dev/null and b/projects/gpp/thumb_birdu.jpg differ diff --git a/projects/graduation-divination/hieroglyphics.jpg b/projects/graduation-divination/hieroglyphics.jpg new file mode 100644 index 0000000..df63b82 Binary files /dev/null and b/projects/graduation-divination/hieroglyphics.jpg differ diff --git a/projects/graduation-divination/thumb_hieroglyphics.jpg b/projects/graduation-divination/thumb_hieroglyphics.jpg new file mode 100644 index 0000000..81644a5 Binary files /dev/null and b/projects/graduation-divination/thumb_hieroglyphics.jpg differ diff --git a/projects/grs/grsc.jpg b/projects/grs/grsc.jpg new file mode 100644 index 0000000..2d0c60a Binary files /dev/null and b/projects/grs/grsc.jpg differ diff --git a/projects/grs/thumb_grsc.jpg b/projects/grs/thumb_grsc.jpg new file mode 100644 index 0000000..8fa7bb0 Binary files /dev/null and b/projects/grs/thumb_grsc.jpg differ diff --git a/projects/katamari-fanfic/frog.png b/projects/katamari-fanfic/frog.png new file mode 100644 index 0000000..ab4bb9f Binary files /dev/null and b/projects/katamari-fanfic/frog.png differ diff --git a/projects/katamari-fanfic/thumb_frog.png b/projects/katamari-fanfic/thumb_frog.png new file mode 100644 index 0000000..e69de29 diff --git a/projects/kiwibot/kiwi.jpg b/projects/kiwibot/kiwi.jpg new file mode 100644 index 0000000..e5a2afc Binary files /dev/null and b/projects/kiwibot/kiwi.jpg differ diff --git a/projects/kiwibot/thumb_kiwi.jpg b/projects/kiwibot/thumb_kiwi.jpg new file mode 100644 index 0000000..a40f766 Binary files /dev/null and b/projects/kiwibot/thumb_kiwi.jpg differ diff --git a/projects/lifespan/clock.jpg b/projects/lifespan/clock.jpg new file mode 100644 index 0000000..e6bf876 Binary files /dev/null and b/projects/lifespan/clock.jpg differ diff --git a/projects/lifespan/thumb_clock.jpg b/projects/lifespan/thumb_clock.jpg new file mode 100644 index 0000000..a0c1c03 Binary files /dev/null and b/projects/lifespan/thumb_clock.jpg differ diff --git a/projects/loot-box-decorator/080.png b/projects/loot-box-decorator/080.png new file mode 100644 index 0000000..ece52b7 Binary files /dev/null and b/projects/loot-box-decorator/080.png differ diff --git a/projects/loot-box-decorator/thumb_080.png b/projects/loot-box-decorator/thumb_080.png new file mode 100644 index 0000000..f616372 Binary files /dev/null and b/projects/loot-box-decorator/thumb_080.png differ diff --git a/projects/loot-box-multi-player/lost-in-time-2.jpg b/projects/loot-box-multi-player/lost-in-time-2.jpg new file mode 100644 index 0000000..07d1f00 Binary files /dev/null and b/projects/loot-box-multi-player/lost-in-time-2.jpg differ diff --git a/projects/loot-box-multi-player/lost-in-time-2.png b/projects/loot-box-multi-player/lost-in-time-2.png new file mode 100644 index 0000000..35c9c62 Binary files /dev/null and b/projects/loot-box-multi-player/lost-in-time-2.png differ diff --git a/projects/loot-box-multi-player/thumb_lost-in-time-2.png b/projects/loot-box-multi-player/thumb_lost-in-time-2.png new file mode 100644 index 0000000..685df20 Binary files /dev/null and b/projects/loot-box-multi-player/thumb_lost-in-time-2.png differ diff --git a/projects/loot-box-sealing-device/test-3d.jpg b/projects/loot-box-sealing-device/test-3d.jpg new file mode 100644 index 0000000..50cc44b Binary files /dev/null and b/projects/loot-box-sealing-device/test-3d.jpg differ diff --git a/projects/loot-box-sealing-device/thumb_test-3d.jpg b/projects/loot-box-sealing-device/thumb_test-3d.jpg new file mode 100644 index 0000000..82d2c12 Binary files /dev/null and b/projects/loot-box-sealing-device/thumb_test-3d.jpg differ diff --git a/projects/loot-box-temporality/sheep_raider.jpg b/projects/loot-box-temporality/sheep_raider.jpg new file mode 100644 index 0000000..7e59761 Binary files /dev/null and b/projects/loot-box-temporality/sheep_raider.jpg differ diff --git a/projects/loot-box-temporality/thumb_sheep_raider.jpg b/projects/loot-box-temporality/thumb_sheep_raider.jpg new file mode 100644 index 0000000..79b4557 Binary files /dev/null and b/projects/loot-box-temporality/thumb_sheep_raider.jpg differ diff --git a/projects/mimic/The_Mimic.png b/projects/mimic/The_Mimic.png new file mode 100644 index 0000000..e9bab5d Binary files /dev/null and b/projects/mimic/The_Mimic.png differ diff --git a/projects/mimic/thumb_The_Mimic.png b/projects/mimic/thumb_The_Mimic.png new file mode 100644 index 0000000..ddaaf44 Binary files /dev/null and b/projects/mimic/thumb_The_Mimic.png differ diff --git a/projects/notation-system/monstro.jpg b/projects/notation-system/monstro.jpg new file mode 100644 index 0000000..822ee01 Binary files /dev/null and b/projects/notation-system/monstro.jpg differ diff --git a/projects/notation-system/thumb_monstro.jpg b/projects/notation-system/thumb_monstro.jpg new file mode 100644 index 0000000..c758c40 Binary files /dev/null and b/projects/notation-system/thumb_monstro.jpg differ diff --git a/projects/ooc-summer-session/ooc.jpg b/projects/ooc-summer-session/ooc.jpg new file mode 100644 index 0000000..b706b1f Binary files /dev/null and b/projects/ooc-summer-session/ooc.jpg differ diff --git a/projects/ooc-summer-session/thumb_ooc.jpg b/projects/ooc-summer-session/thumb_ooc.jpg new file mode 100644 index 0000000..8372366 Binary files /dev/null and b/projects/ooc-summer-session/thumb_ooc.jpg differ diff --git a/projects/padliography-2/padtoles.jpg b/projects/padliography-2/padtoles.jpg new file mode 100644 index 0000000..aaa1f7c Binary files /dev/null and b/projects/padliography-2/padtoles.jpg differ diff --git a/projects/padliography-2/thumb_padtoles.jpg b/projects/padliography-2/thumb_padtoles.jpg new file mode 100644 index 0000000..95de1f4 Binary files /dev/null and b/projects/padliography-2/thumb_padtoles.jpg differ diff --git a/projects/panel/nutritional-synth.jpg b/projects/panel/nutritional-synth.jpg new file mode 100644 index 0000000..dcdd749 Binary files /dev/null and b/projects/panel/nutritional-synth.jpg differ diff --git a/projects/panel/thumb_nutritional-synth.jpg b/projects/panel/thumb_nutritional-synth.jpg new file mode 100644 index 0000000..523f392 Binary files /dev/null and b/projects/panel/thumb_nutritional-synth.jpg differ diff --git a/projects/pdf-zac/thumb_zac.jpg b/projects/pdf-zac/thumb_zac.jpg new file mode 100644 index 0000000..bd848b9 Binary files /dev/null and b/projects/pdf-zac/thumb_zac.jpg differ diff --git a/projects/pdf-zac/zac.jpg b/projects/pdf-zac/zac.jpg new file mode 100644 index 0000000..b66921b Binary files /dev/null and b/projects/pdf-zac/zac.jpg differ diff --git a/projects/plotter-pattern/ebrains cut.jpg b/projects/plotter-pattern/ebrains cut.jpg index d10f345..43adee5 100644 Binary files a/projects/plotter-pattern/ebrains cut.jpg and b/projects/plotter-pattern/ebrains cut.jpg differ diff --git a/projects/plotter-pattern/thumb_ebrains cut.jpg b/projects/plotter-pattern/thumb_ebrains cut.jpg new file mode 100644 index 0000000..794fb8e Binary files /dev/null and b/projects/plotter-pattern/thumb_ebrains cut.jpg differ diff --git a/projects/post-flask/production-line-al.jpg b/projects/post-flask/production-line-al.jpg new file mode 100644 index 0000000..f66bfaf Binary files /dev/null and b/projects/post-flask/production-line-al.jpg differ diff --git a/projects/post-flask/thumb_production-line-al.jpg b/projects/post-flask/thumb_production-line-al.jpg new file mode 100644 index 0000000..c07fd3b Binary files /dev/null and b/projects/post-flask/thumb_production-line-al.jpg differ diff --git a/projects/postit-contents/susi.jpg b/projects/postit-contents/susi.jpg new file mode 100644 index 0000000..f190c4e Binary files /dev/null and b/projects/postit-contents/susi.jpg differ diff --git a/projects/postit-contents/thumb_susi.jpg b/projects/postit-contents/thumb_susi.jpg new file mode 100644 index 0000000..91822c9 Binary files /dev/null and b/projects/postit-contents/thumb_susi.jpg differ diff --git a/projects/postit-gen/susi.jpg b/projects/postit-gen/susi.jpg new file mode 100644 index 0000000..f190c4e Binary files /dev/null and b/projects/postit-gen/susi.jpg differ diff --git a/projects/postit-gen/thumb_susi.jpg b/projects/postit-gen/thumb_susi.jpg new file mode 100644 index 0000000..91822c9 Binary files /dev/null and b/projects/postit-gen/thumb_susi.jpg differ diff --git a/projects/postit-identity/postit-id.jpg b/projects/postit-identity/postit-id.jpg new file mode 100644 index 0000000..bffd7ca Binary files /dev/null and b/projects/postit-identity/postit-id.jpg differ diff --git a/projects/postit-identity/thumb_postit-id.jpg b/projects/postit-identity/thumb_postit-id.jpg new file mode 100644 index 0000000..0e85982 Binary files /dev/null and b/projects/postit-identity/thumb_postit-id.jpg differ diff --git a/projects/run-soupboat-run/casa gambe lunghe.stl b/projects/run-soupboat-run/case.stl similarity index 100% rename from projects/run-soupboat-run/casa gambe lunghe.stl rename to projects/run-soupboat-run/case.stl diff --git a/projects/run-soupboat-run/legs.jpg b/projects/run-soupboat-run/legs.jpg old mode 100755 new mode 100644 index 3265feb..55d6235 Binary files a/projects/run-soupboat-run/legs.jpg and b/projects/run-soupboat-run/legs.jpg differ diff --git a/projects/run-soupboat-run/thumb_legs.jpg b/projects/run-soupboat-run/thumb_legs.jpg new file mode 100644 index 0000000..ac36b5e Binary files /dev/null and b/projects/run-soupboat-run/thumb_legs.jpg differ diff --git a/projects/seq/seq.jpg b/projects/seq/seq.jpg new file mode 100644 index 0000000..8522458 Binary files /dev/null and b/projects/seq/seq.jpg differ diff --git a/projects/seq/thumb_seq.jpg b/projects/seq/thumb_seq.jpg new file mode 100644 index 0000000..6620a8f Binary files /dev/null and b/projects/seq/thumb_seq.jpg differ diff --git a/projects/si16-backend/SI16_compress.jpg b/projects/si16-backend/SI16_compress.jpg new file mode 100644 index 0000000..c41b464 Binary files /dev/null and b/projects/si16-backend/SI16_compress.jpg differ diff --git a/projects/si16-backend/thumb_SI16_compress.jpg b/projects/si16-backend/thumb_SI16_compress.jpg new file mode 100644 index 0000000..4d27593 Binary files /dev/null and b/projects/si16-backend/thumb_SI16_compress.jpg differ diff --git a/projects/si17-homepage/boxes.jpg b/projects/si17-homepage/boxes.jpg new file mode 100644 index 0000000..56ab92a Binary files /dev/null and b/projects/si17-homepage/boxes.jpg differ diff --git a/projects/si17-homepage/thumb_boxes.jpg b/projects/si17-homepage/thumb_boxes.jpg new file mode 100644 index 0000000..48266c8 Binary files /dev/null and b/projects/si17-homepage/thumb_boxes.jpg differ diff --git a/projects/si17-public/maxresdefault.jpg b/projects/si17-public/maxresdefault.jpg new file mode 100644 index 0000000..7ffd53e Binary files /dev/null and b/projects/si17-public/maxresdefault.jpg differ diff --git a/projects/si17-public/thumb_maxresdefault.jpg b/projects/si17-public/thumb_maxresdefault.jpg new file mode 100644 index 0000000..0bc2325 Binary files /dev/null and b/projects/si17-public/thumb_maxresdefault.jpg differ diff --git a/projects/si18-01-jingles/delft.jpg b/projects/si18-01-jingles/delft.jpg new file mode 100644 index 0000000..1cb413b Binary files /dev/null and b/projects/si18-01-jingles/delft.jpg differ diff --git a/projects/si18-01-jingles/thumb_delft.jpg b/projects/si18-01-jingles/thumb_delft.jpg new file mode 100644 index 0000000..48a7daa Binary files /dev/null and b/projects/si18-01-jingles/thumb_delft.jpg differ diff --git a/projects/si18-02-schooling-shoaling/schooling.png b/projects/si18-02-schooling-shoaling/schooling.png new file mode 100644 index 0000000..d948611 Binary files /dev/null and b/projects/si18-02-schooling-shoaling/schooling.png differ diff --git a/projects/si18-02-schooling-shoaling/thumb_schooling.png b/projects/si18-02-schooling-shoaling/thumb_schooling.png new file mode 100644 index 0000000..78d650a Binary files /dev/null and b/projects/si18-02-schooling-shoaling/thumb_schooling.png differ diff --git a/projects/si18-03-emergent-opera/emergent opera.jpg b/projects/si18-03-emergent-opera/emergent opera.jpg new file mode 100644 index 0000000..e535d0d Binary files /dev/null and b/projects/si18-03-emergent-opera/emergent opera.jpg differ diff --git a/projects/si18-03-emergent-opera/thumb_emergent opera.jpg b/projects/si18-03-emergent-opera/thumb_emergent opera.jpg new file mode 100644 index 0000000..6743911 Binary files /dev/null and b/projects/si18-03-emergent-opera/thumb_emergent opera.jpg differ diff --git a/projects/si18-03-overture-atlas/eggg.jpg b/projects/si18-03-overture-atlas/eggg.jpg new file mode 100644 index 0000000..ab3adb5 Binary files /dev/null and b/projects/si18-03-overture-atlas/eggg.jpg differ diff --git a/projects/si18-03-overture-atlas/thumb_eggg.jpg b/projects/si18-03-overture-atlas/thumb_eggg.jpg new file mode 100644 index 0000000..54fef31 Binary files /dev/null and b/projects/si18-03-overture-atlas/thumb_eggg.jpg differ diff --git a/projects/si18-05-what-is-right-not-to/office.jpg b/projects/si18-05-what-is-right-not-to/office.jpg new file mode 100644 index 0000000..608a3be Binary files /dev/null and b/projects/si18-05-what-is-right-not-to/office.jpg differ diff --git a/projects/si18-05-what-is-right-not-to/thumb_office.jpg b/projects/si18-05-what-is-right-not-to/thumb_office.jpg new file mode 100644 index 0000000..67dd042 Binary files /dev/null and b/projects/si18-05-what-is-right-not-to/thumb_office.jpg differ diff --git a/projects/skimmer/schimmer.jpg b/projects/skimmer/schimmer.jpg new file mode 100644 index 0000000..13f5385 Binary files /dev/null and b/projects/skimmer/schimmer.jpg differ diff --git a/projects/skimmer/thumb_schimmer.jpg b/projects/skimmer/thumb_schimmer.jpg new file mode 100644 index 0000000..1107855 Binary files /dev/null and b/projects/skimmer/thumb_schimmer.jpg differ diff --git a/projects/soup-to-wiki/thumb_wiki-soup.jpg b/projects/soup-to-wiki/thumb_wiki-soup.jpg new file mode 100644 index 0000000..80f105b Binary files /dev/null and b/projects/soup-to-wiki/thumb_wiki-soup.jpg differ diff --git a/projects/soup-to-wiki/wiki-soup.jpg b/projects/soup-to-wiki/wiki-soup.jpg new file mode 100644 index 0000000..42e1a43 Binary files /dev/null and b/projects/soup-to-wiki/wiki-soup.jpg differ diff --git a/projects/soup2/soup2.jpg b/projects/soup2/soup2.jpg index d5c407e..742cb38 100644 Binary files a/projects/soup2/soup2.jpg and b/projects/soup2/soup2.jpg differ diff --git a/projects/soup2/thumb_soup2.jpg b/projects/soup2/thumb_soup2.jpg new file mode 100644 index 0000000..68560ea Binary files /dev/null and b/projects/soup2/thumb_soup2.jpg differ diff --git a/projects/spaghetti/modular-spaghetti.jpg b/projects/spaghetti/modular-spaghetti.jpg new file mode 100644 index 0000000..d0cb57f Binary files /dev/null and b/projects/spaghetti/modular-spaghetti.jpg differ diff --git a/projects/spaghetti/thumb_modular-spaghetti.jpg b/projects/spaghetti/thumb_modular-spaghetti.jpg new file mode 100644 index 0000000..4b49a12 Binary files /dev/null and b/projects/spaghetti/thumb_modular-spaghetti.jpg differ diff --git a/projects/take-away/tanuki.jpg b/projects/take-away/tanuki.jpg index 1f7a5b3..54665fc 100644 Binary files a/projects/take-away/tanuki.jpg and b/projects/take-away/tanuki.jpg differ diff --git a/projects/take-away/thumb_tanuki.jpg b/projects/take-away/thumb_tanuki.jpg new file mode 100644 index 0000000..1382cac Binary files /dev/null and b/projects/take-away/thumb_tanuki.jpg differ diff --git a/projects/textoscope/textoscope.jpg b/projects/textoscope/textoscope.jpg new file mode 100644 index 0000000..acbb618 Binary files /dev/null and b/projects/textoscope/textoscope.jpg differ diff --git a/projects/textoscope/thumb_textoscope.jpg b/projects/textoscope/thumb_textoscope.jpg new file mode 100644 index 0000000..406bb1e Binary files /dev/null and b/projects/textoscope/thumb_textoscope.jpg differ diff --git a/projects/thesis-outline/coding_contingencies.jpg b/projects/thesis-outline/coding_contingencies.jpg new file mode 100644 index 0000000..36ce1d1 Binary files /dev/null and b/projects/thesis-outline/coding_contingencies.jpg differ diff --git a/projects/thesis-outline/thumb_coding_contingencies.jpg b/projects/thesis-outline/thumb_coding_contingencies.jpg new file mode 100644 index 0000000..e0374df Binary files /dev/null and b/projects/thesis-outline/thumb_coding_contingencies.jpg differ diff --git a/projects/tlist/basho.jpg b/projects/tlist/basho.jpg new file mode 100644 index 0000000..92621de Binary files /dev/null and b/projects/tlist/basho.jpg differ diff --git a/projects/tlist/thumb_basho.jpg b/projects/tlist/thumb_basho.jpg new file mode 100644 index 0000000..94e1fa6 Binary files /dev/null and b/projects/tlist/thumb_basho.jpg differ diff --git a/projects/wlist/123964-yamato-gensho.jpg b/projects/wlist/123964-yamato-gensho.jpg new file mode 100644 index 0000000..ed10f26 Binary files /dev/null and b/projects/wlist/123964-yamato-gensho.jpg differ diff --git a/projects/wlist/thumb_123964-yamato-gensho.jpg b/projects/wlist/thumb_123964-yamato-gensho.jpg new file mode 100644 index 0000000..0cc83b5 Binary files /dev/null and b/projects/wlist/thumb_123964-yamato-gensho.jpg differ diff --git a/projects/workbook/Drawing-Pteranodon.jpg b/projects/workbook/Drawing-Pteranodon.jpg new file mode 100644 index 0000000..8970806 Binary files /dev/null and b/projects/workbook/Drawing-Pteranodon.jpg differ diff --git a/projects/workbook/thumb_Drawing-Pteranodon.jpg b/projects/workbook/thumb_Drawing-Pteranodon.jpg new file mode 100644 index 0000000..0fb55ec Binary files /dev/null and b/projects/workbook/thumb_Drawing-Pteranodon.jpg differ diff --git a/projects/workinon/ah.jpg b/projects/workinon/ah.jpg new file mode 100644 index 0000000..5515d6d Binary files /dev/null and b/projects/workinon/ah.jpg differ diff --git a/projects/workinon/thumb_ah.jpg b/projects/workinon/thumb_ah.jpg new file mode 100644 index 0000000..168a70e Binary files /dev/null and b/projects/workinon/thumb_ah.jpg differ diff --git a/projects/xquisite/thumb_unità cinofila.jpg b/projects/xquisite/thumb_unità cinofila.jpg new file mode 100644 index 0000000..98c3a05 Binary files /dev/null and b/projects/xquisite/thumb_unità cinofila.jpg differ diff --git a/projects/xquisite/unità cinofila.jpg b/projects/xquisite/unità cinofila.jpg new file mode 100644 index 0000000..45b1273 Binary files /dev/null and b/projects/xquisite/unità cinofila.jpg differ diff --git a/templates/home2.html b/templates/home2.html new file mode 100644 index 0000000..d18fc6e --- /dev/null +++ b/templates/home2.html @@ -0,0 +1,81 @@ + + + + + + + Kamo {% block title %} - {{ title }} {% endblock %} + + + + + + + + + + + + + + +
+ +
+

{{ title }}

+
{{content|safe}}
+
+ + + {% for project in projects %} + + + + + + + + {% endfor %} +
+

+ + {{project.title}} + +

+
+ {% if project.description %} + {{ project.description }} + {% endif %} +
+
+ {% for category in project.categories %} + {{category}} + {% endfor %} + + {% if project.date %} + {{project.date}} + {% endif %} +
+
+ +