sitemap up to date

master
chimchooree 8 months ago
parent 5e8dad5e12
commit 45e13428ac

@ -340,7 +340,6 @@ def prepare_diary_entry(page, loc):
print("HEY - Error: " + str(e)) print("HEY - Error: " + str(e))
print("HEY - loc: " + loc) print("HEY - loc: " + loc)
print("HEY - page: " + page) print("HEY - page: " + page)
print("PASS - " + loc + page)
return result return result
# Return article as list of lines of text # Return article as list of lines of text
@ -454,27 +453,27 @@ def get_robots():
# Error Page # Error Page
@error(404) @error(404)
def error404(error): def error404(error):
return "unfortunately, a 404 error. the page you're searching for doesn't exist. (or is it just in hiding?) try another page! <a href=/>return to blessfrey.me.</a> " return "Unfortunately, a 404 error. The page you're searching for doesn't exist. (Or is it just in hiding?) Try another page! <a href=/>Return to Blessfrey.me.</a> "
@error(500) @error(500)
def error500(error): def error500(error):
return "unfortunately, a 500 error. something is wrong with the page you're trying to find, if it exists at all. try another page! <a href=/>return to blessfrey.me.</a>" return "Unfortunately, a 500 error. Something is wrong with the page you're trying to find, if it exists at all. Try another page! <a href=/>Return to Blessfrey.me.</a>"
@error(502) @error(502)
def error502(error): def error502(error):
return "unfortunately, a 502 error. this was likely due to website maintenance. usually it'll be back up before you finish reading this, but otherwise, I'll notice something's wrong soon! <a href=https://www.blessfrey.me/>return to blessfrey.me.</a>" return "Unfortunately, a 502 error. This was likely due to website maintenance. Usually it'll be back up before you finish reading this, but otherwise, I'll notice something's wrong soon! <a href=https://www.blessfrey.me/>Return to Blessfrey.me.</a>"
# About Blessfrey Page # About Blessfrey Page
@route('/about') @route('/about')
def about(): def about():
"""about""" """about"""
info = {'css': 'doc', 'title': 'about blessfrey', 'year': find_year()} info = {'css': 'doc', 'preview': 'Learn more about Blessfrey by Chimchooree, an action RPG made in Godot 4.', 'title': 'about blessfrey', 'year': find_year()}
return template('about.tpl', info) return template('about.tpl', info)
# Art Gallery Page # Art Gallery Page
@route('/art') @route('/art')
def art(): def art():
"""art""" """art"""
info = {'css': 'art', 'title': 'blessfrey art gallery', 'year': find_year()} info = {'css': 'art', 'preview': 'Chimchooree\'s art, sewing projects, and screenshots.', 'title': 'blessfrey art gallery', 'year': find_year()}
return template('art.tpl', info) return template('art.tpl', info)
# OC Page # OC Page
@ -488,7 +487,7 @@ def char2():
def char(char_name): def char(char_name):
"""character page""" """character page"""
loc = 'char/' loc = 'char/'
info = {'css': 'char', 'title': 'blessfrey - characters | meet ' + char_name, 'year': find_year(), 'ocs': ["Helia", "Rune", "Angel", "Tessa", "Chloe", "Aries", "Night", "Dia", "Bless", "WISE", "Abbey", "Calder", "Silke", "Aloin", "Fifi", "Bijoux", "CatMan", "Belfry", "Aristen", "Chimchooree", "Freya", "Lune", "Chandra", "Colt", "Cass", "Katherine"], 'name': char_name, 'profile': prepare_profile(loc, char_name), 'gallery': find_gallery(char_name)} info = {'css': 'char', 'preview': 'Chimchooree\'s OC database. Meet ' + char_name + "!", 'title': 'blessfrey - characters | meet ' + char_name, 'year': find_year(), 'ocs': ["Helia", "Rune", "Angel", "Tessa", "Chloe", "Aries", "Night", "Dia", "Bless", "WISE", "Abbey", "Calder", "Silke", "Aloin", "Fifi", "Bijoux", "CatMan", "Belfry", "Aristen", "Chimchooree", "Freya", "Lune", "Chandra", "Colt", "Cass", "Katherine"], 'name': char_name, 'profile': prepare_profile(loc, char_name), 'gallery': find_gallery(char_name)}
abs_app_dir_path = os.path.dirname(os.path.realpath(__file__)) abs_app_dir_path = os.path.dirname(os.path.realpath(__file__))
abs_views_path = os.path.join(abs_app_dir_path, 'views') abs_views_path = os.path.join(abs_app_dir_path, 'views')
TEMPLATE_PATH.insert(0, abs_views_path ) TEMPLATE_PATH.insert(0, abs_views_path )
@ -498,39 +497,39 @@ def char(char_name):
@route('/credits') @route('/credits')
def credits(): def credits():
"""credits""" """credits"""
info = {'css': 'doc', 'title': 'blessfrey credits', 'year': find_year()} info = {'css': 'doc', 'preview': 'Keeping track of everyone who contributed to Blessfrey', 'title': 'blessfrey credits', 'year': find_year()}
return template('credits.tpl', info) return template('credits.tpl', info)
# Blessfrey Games Page # Blessfrey Games Page
@route('/games') @route('/games')
def games(): def games():
"""games""" """games"""
info = {'css': 'games', 'title': 'blessfrey games', 'year': find_year()} info = {'css': 'games', 'preview': 'Play Chimchooree\'s HTML5 games in the browser! Best played on the desktop.', 'title': 'blessfrey games', 'year': find_year()}
return template('games.tpl', info) return template('games.tpl', info)
@route('/blue-planet') @route('/blue-planet')
def bp(): def bp():
"""game""" """game"""
info = {'css': 'games', 'title': 'blue planet - blessfrey games', 'year': find_year()} info = {'css': 'games', 'preview': 'Play Blue Planet by Chimchooree, an HTML5 dressup prototype in the browser. Made in Godot 3.', 'title': 'blue planet - blessfrey games', 'year': find_year()}
return template('games-bp.tpl', info) return template('games-bp.tpl', info)
@route('/cheeryOS') @route('/cheeryOS')
def co(): def co():
"""game""" """game"""
info = {'css': 'games', 'title': 'cheeryOS - blessfrey games', 'year': find_year()} info = {'css': 'games', 'preview': 'Play CheeryOS by Chimchooree, an HTML5 pretend OS prototype in the browser. Made in Godot 3.', 'title': 'cheeryOS - blessfrey games', 'year': find_year()}
return template('games-co.tpl', info) return template('games-co.tpl', info)
@route('/no-legs-the-cat') @route('/no-legs-the-cat')
def nltc(): def nltc():
"""game""" """game"""
info = {'css': 'games', 'title': 'no-legs the cat - blessfrey games', 'year': find_year()} info = {'css': 'games', 'preview': 'Play No-Legs the Cat by Chimchooree, an HTML5 maze game in the browser. Made in Godot 3.', 'title': 'no-legs the cat - blessfrey games', 'year': find_year()}
return template('games-nltc.tpl', info) return template('games-nltc.tpl', info)
@route('/small-thing-that-makes-things') @route('/small-thing-that-makes-things')
def sttmt(): def sttmt():
"""game""" """game"""
info = {'css': 'games', 'title': 'small thing that makes things - blessfrey games', 'year': find_year()} info = {'css': 'games', 'preview': 'Play Small Thing That Makes Things, an HTML5 adventure platformer in the browser. Made in Godot 3 for #WeeklyGameJam.', 'title': 'small thing that makes things - blessfrey games', 'year': find_year()}
return template('games-sttmt.tpl', info) return template('games-sttmt.tpl', info)
@route('/stoplight') @route('/stoplight')
def sl(): def sl():
"""game""" """game"""
info = {'css': 'games', 'title': 'stoplight - blessfrey games', 'year': find_year()} info = {'css': 'games', 'preview': 'Play Stoplight, an HTML5 coroutines prototype in the browser. Made in Godot 3.', 'title': 'stoplight - blessfrey games', 'year': find_year()}
return template('games-sl.tpl', info) return template('games-sl.tpl', info)
@ -555,7 +554,7 @@ def diary(page):
"""diary""" """diary"""
loc = 'diary/entries/' loc = 'diary/entries/'
assert isinstance(page, int) assert isinstance(page, int)
info = {'css': 'diary', 'title': 'chimchooree\'s diary', 'year': find_year(), 'snippets': list_snippets(gather_and_sort(loc), loc), 'latest': list_headlines(gather_and_sort(loc)[0:5], loc), 'tags': fill_word_cloud(curate_files(gather_files(loc)), loc), 'total': len(curate_files(gather_files(loc))), 'limit': 8, 'cluster': 3, 'page': page, 'category': "diary"} info = {'css': 'diary', 'title': 'chimchooree\'s diary', 'preview': 'Chimchooree\'s diary, sharing gamedev, webdev, Bible study, and personal reflections.', 'year': find_year(), 'snippets': list_snippets(gather_and_sort(loc), loc), 'latest': list_headlines(gather_and_sort(loc)[0:5], loc), 'tags': fill_word_cloud(curate_files(gather_files(loc)), loc), 'total': len(curate_files(gather_files(loc))), 'limit': 8, 'cluster': 3, 'page': page, 'category': "diary"}
return template('diary.tpl', info) return template('diary.tpl', info)
# Entry Page - Feature Template - for articles # Entry Page - Feature Template - for articles
@ -567,7 +566,8 @@ def entry(page_t):
page = str(page_t) page = str(page_t)
loc = 'diary/entries/' loc = 'diary/entries/'
entry = prepare_diary_entry(page, loc) entry = prepare_diary_entry(page, loc)
info = {'css': 'entry', 'title': entry[0] + ' (blessfrey developer diary)', 'year': find_year(), 'entry': entry, 'recommends': list_rec(page, loc), 'articles': "Articles", 'latest': list_headlines(gather_and_sort(loc)[0:5], loc), 'tags': fill_word_cloud(curate_files(gather_files(loc)), loc), 'page': page, 'category': "diary"}
info = {'css': 'entry', 'title': entry[0], 'year': find_year(), 'preview': prepare_article(entry[1], loc + page), 'entry': entry, 'recommends': list_rec(page, loc), 'articles': "Articles", 'latest': list_headlines(gather_and_sort(loc)[0:5], loc), 'tags': fill_word_cloud(curate_files(gather_files(loc)), loc), 'page': page, 'category': "diary"}
abs_app_dir_path = os.path.dirname(os.path.realpath(__file__)) abs_app_dir_path = os.path.dirname(os.path.realpath(__file__))
abs_views_path = os.path.join(abs_app_dir_path, 'views') abs_views_path = os.path.join(abs_app_dir_path, 'views')
TEMPLATE_PATH.insert(0, abs_views_path ) TEMPLATE_PATH.insert(0, abs_views_path )
@ -577,7 +577,7 @@ def entry(page_t):
@route('/blessfrey-gdd') @route('/blessfrey-gdd')
def gddbf(): def gddbf():
"""Game Design Document""" """Game Design Document"""
info = {'css': 'doc', 'title': 'blessfrey gdd', 'year': find_year(), 'topics': get_gdd_topics( info = {'css': 'doc', 'title': 'blessfrey gdd', 'preview': 'Blessfrey\'s game design document', 'year': find_year(), 'topics': get_gdd_topics(
["achievement", "ai", "armor-rating", "attack-loop", "attribute", "attribute-point", "cast", "character", "collision", "controls", "credits", "damage-type", "death-penalty", "design-philosophy", "dialogue", "docs", "environment-effect", "fog-of-war", "gear", "gig", "groups", "highlight", "ID", "inspect menu", "inventory", "item", "job", "keyword", "KnowledgeBase", "language", "life", "marketing", "mechanics", "MessageBus", "Mercur", "milestones", "miracles", "pathfinding", "perk", "pip", "projectile", "proxemics", "punishment", "setting", "skill", "smartphone", "spirit", "status-effect", "store", "story", "style guide", "terms", "ui", "vibe", "website", "xp", "xp-bar", "zone"],3 ["achievement", "ai", "armor-rating", "attack-loop", "attribute", "attribute-point", "cast", "character", "collision", "controls", "credits", "damage-type", "death-penalty", "design-philosophy", "dialogue", "docs", "environment-effect", "fog-of-war", "gear", "gig", "groups", "highlight", "ID", "inspect menu", "inventory", "item", "job", "keyword", "KnowledgeBase", "language", "life", "marketing", "mechanics", "MessageBus", "Mercur", "milestones", "miracles", "pathfinding", "perk", "pip", "projectile", "proxemics", "punishment", "setting", "skill", "smartphone", "spirit", "status-effect", "store", "story", "style guide", "terms", "ui", "vibe", "website", "xp", "xp-bar", "zone"],3
)} )}
return template('bf-gdd.tpl', info) return template('bf-gdd.tpl', info)
@ -601,29 +601,29 @@ def page(page):
# if page.lower() in ["job","keyword","skill"]: # if page.lower() in ["job","keyword","skill"]:
# return mechpage(page) # return mechpage(page)
loc = 'blessfrey-gdd/' loc = 'blessfrey-gdd/'
info = {'css': 'doc', 'title': 'Blessfrey GDD - ' + page, 'year': find_year(), 'topic': page.lower(), 'writeup': prepare_gdd_page(page, loc)} info = {'css': 'doc', 'title': 'Blessfrey GDD - ' + page, 'preview': 'Blessfrey\'s GDD - ' + page, 'year': find_year(), 'topic': page.lower(), 'writeup': prepare_gdd_page(page, loc)}
return template('page.tpl', info) return template('page.tpl', info)
# Blessfrey Docs (Objects, Variables, & Methods) # Blessfrey Docs (Objects, Variables, & Methods)
@route('/blessfrey-gdd/docs') @route('/blessfrey-gdd/docs')
def docs(): def docs():
"""docs""" """docs"""
info = {'css': 'doc', 'title': 'Blessfrey Documentation', 'year': find_year(), 'topic': 'docs', 'writeup': prepare_gdd_page('docs', 'blessfrey-gdd/docs/')} info = {'css': 'doc', 'title': 'Blessfrey Documentation', 'preview': 'Blessfrey Documentation', 'year': find_year(), 'topic': 'docs', 'writeup': prepare_gdd_page('docs', 'blessfrey-gdd/docs/')}
return template('page.tpl', info) return template('page.tpl', info)
@route('/blessfrey-gdd/docs/<page>') @route('/blessfrey-gdd/docs/<page>')
def docpage(page): def docpage(page):
loc = 'blessfrey-gdd/docs/' loc = 'blessfrey-gdd/docs/'
info = {'css': 'doc', 'title': 'Blessfrey GDD - ' + page, 'year': find_year(), 'topic': '<a href="/blessfrey-gdd/docs">docs</a> ~ ' + page.lower(), 'writeup': prepare_gdd_page(page, loc)} info = {'css': 'doc', 'title': 'Blessfrey GDD - ' + page, 'preview': 'Blessfrey GDD - ' + page, 'year': find_year(), 'topic': '<a href="/blessfrey-gdd/docs">docs</a> ~ ' + page.lower(), 'writeup': prepare_gdd_page(page, loc)}
return template('page.tpl', info) return template('page.tpl', info)
# Blessfrey Mechanics # Blessfrey Mechanics
@route('/blessfrey-gdd/mechanics') @route('/blessfrey-gdd/mechanics')
def mech(): def mech():
"""mechanics""" """mechanics"""
info = {'css': 'doc', 'title': 'game mechanics (blessfrey GDD)', 'year': find_year(), 'topic': 'game mechanics', 'writeup': prepare_gdd_page('mechanics', 'blessfrey-gdd/mechanics/')} info = {'css': 'doc', 'title': 'game mechanics (blessfrey GDD)', 'preview': 'Blessfrey game design document - game mechanics', 'year': find_year(), 'topic': 'game mechanics', 'writeup': prepare_gdd_page('mechanics', 'blessfrey-gdd/mechanics/')}
return template('page.tpl', info) return template('page.tpl', info)
@route('/blessfrey-gdd/mechanics/<page>') @route('/blessfrey-gdd/mechanics/<page>')
def mechpage(page): def mechpage(page):
loc = 'blessfrey-gdd/mechanics/' loc = 'blessfrey-gdd/mechanics/'
info = {'css': 'doc', 'title': 'blessfrey GDD - ' + page, 'year': find_year(), 'topic': '<a href="/blessfrey-gdd/mechanics">game mechanic</a> ~ ' + page.lower(), 'writeup': prepare_gdd_page(page, loc)} info = {'css': 'doc', 'title': 'blessfrey GDD - ' + page, 'preview': 'Blessfrey GDD' + page, 'year': find_year(), 'topic': '<a href="/blessfrey-gdd/mechanics">game mechanic</a> ~ ' + page.lower(), 'writeup': prepare_gdd_page(page, loc)}
return template('page.tpl', info) return template('page.tpl', info)
# Blessfrey Style Guide Page # Blessfrey Style Guide Page
@route('/blessfrey-style-guide') @route('/blessfrey-style-guide')
@ -638,56 +638,49 @@ def style1():
@route('/style') @route('/style')
def style(): def style():
"""style guide""" """style guide"""
info = {'css': 'doc', 'title': 'blessfrey style guide', 'year': find_year()} info = {'css': 'doc', 'title': 'blessfrey style guide', 'preview': 'Blessfrey\'s style guide', 'year': find_year()}
return template('style-guide.tpl', info) return template('style-guide.tpl', info)
# Me Page # Me Page
@route('/about-me') @route('/about-me')
def me(): def me():
"""me""" """me"""
info = {'css': 'me', 'title': 'meet me, chimchooree', 'year': find_year()} info = {'css': 'me', 'title': 'meet me, chimchooree', 'preview': 'Meet me, Chimchooree, and learn more about my projects - gamedev, webdev, Bible study, creative writing, pixel art, and more!', 'year': find_year()}
return template('me.tpl', info) return template('me.tpl', info)
# Feature Requirements # Feature Requirements
@route('/milestones') @route('/milestones')
def milestones(): def milestones():
"""feature requirements""" """feature requirements"""
info = {'css': 'doc', 'title': 'blessfrey milestones', 'year': find_year()} info = {'css': 'doc', 'title': 'blessfrey milestones', 'preview': 'Blessfrey milestones', 'year': find_year()}
return template('milestones.tpl', info) return template('milestones.tpl', info)
# Blessfrey - Feature Requirements Page # Blessfrey - Feature Requirements Page
@route('/blessfrey-milestones') @route('/blessfrey-milestones')
def milestones(): def milestones():
info = {'css': 'doc', 'title': 'blessfrey milestones', 'year': find_year()} info = {'css': 'doc', 'title': 'blessfrey milestones', 'preview': 'Blessfrey milestones', 'year': find_year()}
return template('milestones-bf.tpl', info) return template('milestones-bf.tpl', info)
# Lemonland - Feature Requirements Page # Lemonland - Feature Requirements Page
@route('/lemonland-milestones') @route('/lemonland-milestones')
def milestones(): def milestones():
info = {'css': 'doc', 'title': 'blessfrey milestones', 'year': find_year()} info = {'css': 'doc', 'title': 'lemonland milestones', 'preview': 'Lemonland milestones', 'year': find_year()}
return template('milestones-ll.tpl', info) return template('milestones-ll.tpl', info)
# Blue Planet - Feature Requirements Page # Blue Planet - Feature Requirements Page
@route('/blueplanet-milestones') @route('/blueplanet-milestones')
def milestones(): def milestones():
info = {'css': 'doc', 'title': 'blessfrey milestones', 'year': find_year()} info = {'css': 'doc', 'title': 'blue planet milestones', 'preview': 'Blue Planet milestones', 'year': find_year()}
return template('milestones-bp.tpl', info) return template('milestones-bp.tpl', info)
# LazyWiki - Feature Requirements Page # LazyWiki - Feature Requirements Page
@route('/lazywiki-milestones') @route('/lazywiki-milestones')
def milestones(): def milestones():
"""feature requirements""" """feature requirements"""
info = {'css': 'doc', 'title': 'blessfrey milestones', 'year': find_year()} info = {'css': 'doc', 'title': 'lazywiki milestones', 'preview': 'LazyWiki milestones', 'year': find_year()}
return template('milestones-lw.tpl', info) return template('milestones-lw.tpl', info)
# Blessfrey Presskit Page
@route('/blessfrey-presskit')
def presskit():
"""presskit"""
info = {'css': 'doc', 'title': 'blessfrey presskit', 'year': find_year()}
return template('blessfrey-presskit.tpl', info)
# Sitemap # Sitemap
@route('/sitemap') @route('/sitemap')
def sitemap(): def sitemap():
"""sitemap""" """sitemap"""
info = {'css': 'doc', 'title': 'blessfrey sitemap', 'year': find_year()} info = {'css': 'doc', 'title': 'blessfrey sitemap', 'preview': 'Blessfrey\'s sitemap', 'year': find_year()}
return template('sitemap.tpl', info) return template('sitemap.tpl', info)
# Species Page # Species Page
@ -704,7 +697,7 @@ def spec2():
def spec(species_name): def spec(species_name):
"""species page""" """species page"""
loc = 'species/' loc = 'species/'
info = {'css': 'char', 'title': 'blessfrey - species | meet ' + species_name, 'year': find_year(), 'ocs': ["human","giant","serpent"], 'name': species_name, 'profile': prepare_profile(loc, species_name), 'gallery': find_gallery(species_name)} info = {'css': 'char', 'title': 'blessfrey - species | meet ' + species_name, 'preview': 'Blessfrey - species | Meet ' + species_name, 'year': find_year(), 'ocs': ["human","giant","serpent"], 'name': species_name, 'profile': prepare_profile(loc, species_name), 'gallery': find_gallery(species_name)}
abs_app_dir_path = os.path.dirname(os.path.realpath(__file__)) abs_app_dir_path = os.path.dirname(os.path.realpath(__file__))
abs_views_path = os.path.join(abs_app_dir_path, 'views') abs_views_path = os.path.join(abs_app_dir_path, 'views')
TEMPLATE_PATH.insert(0, abs_views_path ) TEMPLATE_PATH.insert(0, abs_views_path )
@ -717,7 +710,7 @@ def setting2():
@route('/blessfrey-gdd/setting') @route('/blessfrey-gdd/setting')
def setting(): def setting():
"""setting""" """setting"""
info = {'css': 'doc', 'title': 'blessfrey gdd - setting', 'year': find_year()} info = {'css': 'doc', 'title': 'blessfrey gdd - setting', 'preview': 'Blessfrey GDD - Setting', 'year': find_year()}
return template('setting.tpl', info) return template('setting.tpl', info)
# Story Page # Story Page
@ -729,9 +722,7 @@ def story(story):
"""story""" """story"""
loc = 'story/' loc = 'story/'
entry = prepare_diary_entry(story, loc) entry = prepare_diary_entry(story, loc)
print("HEY ... ") info = {'css': 'entry', 'title': entry[0], 'preview': entry[1], 'year': find_year(), 'entry': entry, 'recommends': list_rec(story, loc), 'articles': "Articles", 'latest': list_headlines(gather_and_sort(loc)[0:5], loc), 'tags': fill_word_cloud(curate_files(gather_files(loc)), loc), 'page': story, 'category': "story"}
print(entry)
info = {'css': 'entry', 'title': entry[0], 'year': find_year(), 'entry': entry, 'recommends': list_rec(story, loc), 'articles': "Articles", 'latest': list_headlines(gather_and_sort(loc)[0:5], loc), 'tags': fill_word_cloud(curate_files(gather_files(loc)), loc), 'page': story, 'category': "story"}
abs_app_dir_path = os.path.dirname(os.path.realpath(__file__)) abs_app_dir_path = os.path.dirname(os.path.realpath(__file__))
abs_views_path = os.path.join(abs_app_dir_path, 'views') abs_views_path = os.path.join(abs_app_dir_path, 'views')
TEMPLATE_PATH.insert(0, abs_views_path ) TEMPLATE_PATH.insert(0, abs_views_path )
@ -746,14 +737,14 @@ def story_tag(tagin, page, loc):
print("PASS - TAG - " + tagin) print("PASS - TAG - " + tagin)
assert isinstance(tagin, str) assert isinstance(tagin, str)
assert isinstance(page, int) assert isinstance(page, int)
info = {'css': 'diary', 'title': 'blessfrey developer diary', 'year': find_year(), 'snippets': list_snippets(pull_tag(gather_and_sort(loc), tagin, loc), loc), 'latest': list_headlines(gather_and_sort(loc)[0:5], loc), 'tags': fill_word_cloud(curate_files(gather_files(loc)), loc), 'total': len(curate_files(gather_files(loc))), 'limit': 8, 'cluster': 3, 'page': page, 'category': "story"} info = {'css': 'diary', 'title': 'Blessfrey stories', 'preview': 'Chimchooree\'s creative writing', 'year': find_year(), 'snippets': list_snippets(pull_tag(gather_and_sort(loc), tagin, loc), loc), 'latest': list_headlines(gather_and_sort(loc)[0:5], loc), 'tags': fill_word_cloud(curate_files(gather_files(loc)), loc), 'total': len(curate_files(gather_files(loc))), 'limit': 8, 'cluster': 3, 'page': page, 'category': "story"}
return template('diary.tpl', info) return template('diary.tpl', info)
# Blessfrey Wiki Page # Blessfrey Wiki Page
@route('/study') @route('/study')
def study(): def study():
"""study""" """study"""
redirect('/wiki.blessfrey.me/view/Main_Page') redirect('wiki.blessfrey.me/view/Blessfrey')
# Search Diary by Tag # Search Diary by Tag
@route('/diary/tag/<tagin>') # Start on first Diary tag page if no page given @route('/diary/tag/<tagin>') # Start on first Diary tag page if no page given
@ -765,7 +756,7 @@ def diary_tag(tagin, page, loc):
print("PASS - TAG - " + tagin) print("PASS - TAG - " + tagin)
assert isinstance(tagin, str) assert isinstance(tagin, str)
assert isinstance(page, int) assert isinstance(page, int)
info = {'css': 'diary', 'title': 'blessfrey developer diary', 'year': find_year(), 'snippets': list_snippets(pull_tag(gather_and_sort(loc), tagin, loc), loc), 'latest': list_headlines(gather_and_sort(loc)[0:5], loc), 'tags': fill_word_cloud(curate_files(gather_files(loc)), loc), 'total': len(curate_files(gather_files(loc))), 'limit': 8, 'cluster': 3, 'page': page, 'category': "diary"} info = {'css': 'diary', 'title': 'blessfrey developer diary', 'preview': 'Search Chimchooree\'s diary by tag', 'year': find_year(), 'snippets': list_snippets(pull_tag(gather_and_sort(loc), tagin, loc), loc), 'latest': list_headlines(gather_and_sort(loc)[0:5], loc), 'tags': fill_word_cloud(curate_files(gather_files(loc)), loc), 'total': len(curate_files(gather_files(loc))), 'limit': 8, 'cluster': 3, 'page': page, 'category': "diary"}
return template('diary.tpl', info) return template('diary.tpl', info)
## Main ## ## Main ##

@ -2,8 +2,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="chimchooree"> <meta name="author" content="chimchooree">
<meta name="description" content="Just someone's little blog about Godot Engine indie game development, pixelart, and a little of everything else. The whole site was written in Notepad! (actually xed but whatever) "> <meta name="description" content={{preview}}>
<meta name="keywords" content="art portfolio, dev diary, dev diaries, game development, game development blog, gamedev, Godot, Godot Engine, indiedev, personal blog, portfolio">
<link rel="stylesheet" type="text/css" href="/static/css/all.css"> <link rel="stylesheet" type="text/css" href="/static/css/all.css">
<link rel="stylesheet" type="text/css" href="/static/css/nav.css"> <link rel="stylesheet" type="text/css" href="/static/css/nav.css">
<link rel="stylesheet" type="text/css" href="/static/css/sidebar.css"> <link rel="stylesheet" type="text/css" href="/static/css/sidebar.css">

@ -7,45 +7,92 @@
<details> <details>
<summary><a href="diary">diary</a></summary> <summary><a href="diary">diary</a></summary>
<ul> <ul>
<li class="list">{{random.choice(['.','•','☆','★'])}}&#9;<a href=/diary/1>specific diary page</a></li> <details>
<li class="list">{{random.choice(['.','•','☆','★'])}}&#9;<a href=/diary/tag/webdev>specific diary tag</a></li> <summary>diary entries</summary>
% for i in ["220831"]: <ul>
<li class="list">{{random.choice(['.','•','☆','★'])}}&#9;<a href=/{{i}}>{{i}}</a></li> % for i in ["220831","230227","230508","230519","240101","240108","240109","240219","240220","240301","240302"]:
<li class="list">{{random.choice(['.','•','☆','★'])}}&#9;<a href=/diary/entries/{{i}}>{{i}}</a></li>
% end % end
</ul> </ul>
</details> </details>
<br>
<a href="play">play</a><br> <details>
<summary>diary tags</summary>
<ul>
% for j in ["bible","bottlepy","christian","css","game-jam","godot","health","html","japanese","language-learning","personal","programming","python","simpletemplate","webdev","wiki"]:
<li class="list">{{random.choice(['.','•','☆','★'])}}&#9;<a href=/diary/tag/{{j}}>{{j}}</a></li>
% end
</ul>
</details>
</ul>
</details>
<br> <br>
<details> <details>
<summary><a href="about">info</a></summary> <summary><a href="games">games</a></summary>
<ul> <ul>
% for i in ["milestones","gdd","presskit","characters"]: % for k in ["blue-planet","cheeryOS","no-legs-the-cat","small-thing-that-makes-things","stoplight"]:
<li class="list">{{random.choice(['.','•','☆','★'])}}&#9;<a href=/{{k}}>{{k}}</a></li>
% end
</ul>
<details>
<summary><a href="about">about Blessfrey RPG</a></summary>
<ul>
% for i in ["credits","blessfrey-milestones","style-guide"]:
<li class="list">{{random.choice(['.','•','☆','★'])}}&#9;<a href=/{{i}}>{{i}}</a></li> <li class="list">{{random.choice(['.','•','☆','★'])}}&#9;<a href=/{{i}}>{{i}}</a></li>
% end % end
<details>
<summary><a href="gdd">gdd</a></summary>
<ul>
% for i in ["achievement", "ai", "armor-rating", "attack-loop", "attribute", "attribute-point", "cast", "character", "collision", "controls", "credits", "damage-type", "death-penalty", "design-philosophy", "dialogue", "docs", "environment-effect", "fog-of-war", "gear", "gig", "groups", "highlight", "ID", "inspect menu", "inventory", "item", "job", "keyword", "KnowledgeBase", "language", "life", "marketing", "mechanics", "MessageBus", "Mercur", "milestones", "miracles", "pathfinding", "perk", "pip", "projectile", "proxemics", "punishment", "setting", "skill", "smartphone", "spirit", "status-effect", "store", "story", "style guide", "terms", "ui", "vibe", "website", "xp", "xp-bar", "zone"]:
<li class="list">{{random.choice(['.','•','☆','★'])}}&#9;<a href=/blessfrey-gdd/{{i}}>{{i}}</a></li>
% end
</ul>
</ul>
<details>
<summary><a href="blessfrey-gdd/docs">documentation</a></summary>
<ul>
% for i in ["inspect-menu","skill-json","tangible-body"]:
<li class="list">{{random.choice(['.','•','☆','★'])}}&#9;<a href=/blessfrey-gdd/docs/{{i}}>{{i}}</a></li>
% end
</ul> </ul>
</details> </details>
<br>
<a href="dev">dev</a><br> </details>
<br>
<details> <details>
<summary><a href="gdd">gdd</a></summary> <summary>about Lemonland, a petsite</summary>
<ul> <ul>
% for i in ["cast","credits","ID","inspect menu","item","job","keyword","mechanics","Mercur","milestones","proxemics","setting","skill","story","style guide","terms","vibe","website"]: % for i in ["lemonland-milestones","style-guide"]:
<li class="list">{{random.choice(['.','•','☆','★'])}}&#9;<a href=/{{i}}>{{i}}</a></li>
% end
</details>
<details>
<summary>about Blue Planet, a dressup game</summary>
<ul>
% for i in ["blueplanet-milestones","style-guide"]:
<li class="list">{{random.choice(['.','•','☆','★'])}}&#9;<a href=/{{i}}>{{i}}</a></li> <li class="list">{{random.choice(['.','•','☆','★'])}}&#9;<a href=/{{i}}>{{i}}</a></li>
% end % end
</ul> </details>
<details>
<summary>about LazyWiki, my husband's single-user wiki software</summary>
<ul>
% for i in ["lazywiki-milestones"]:
<li class="list">{{random.choice(['.','•','☆','★'])}}&#9;<a href=/{{i}}>{{i}}</a></li>
% end
</details>
</details> </details>
<br> <br>
<details> <details>
<summary><a href="characters">characters</a></summary> <summary><a href="characters">characters</a></summary>
<ul> <ul>
% for i in ["Helia","Rune","Tessa","Abbey","Calder","Silke","Aristen","Chimchooree","Lune"]: % for i in ["Helia", "Rune", "Angel", "Tessa", "Chloe", "Aries", "Night", "Dia", "Bless", "WISE", "Abbey", "Calder", "Silke", "Aloin", "Fifi", "Bijoux", "CatMan", "Belfry", "Aristen", "Chimchooree", "Freya", "Lune", "Chandra", "Colt", "Cass", "Katherine"]:
<li class="list">{{random.choice(['.','•','☆','★'])}}&#9;<a href=/char/{{i}}>{{i}}</a></li> <li class="list">{{random.choice(['.','•','☆','★'])}}&#9;<a href=/char/{{i}}>{{i}}</a></li>
% end % end
</ul> </ul>
@ -53,25 +100,30 @@
<br> <br>
<details> <details>
<summary><a href="species">species</a></summary> <summary><a href="story">story</a></summary>
<ul> <ul>
% for i in ["human"]: % for i in ["hello-traveler", "home", "parasomnia", "whose-game-are-we-playing"]:
<li class="list">{{random.choice(['.','•','☆','★'])}}&#9;<a href=/species/{{i}}>{{i}}</a></li> <li class="list">{{random.choice(['.','•','☆','★'])}}&#9;<a href=/story/{{i}}>{{i}}</a></li>
% end % end
</ul> </ul>
</details>
<br>
<details> <details>
<summary><a href="location">location</a></summary> <summary>story tags</summary>
<ul> <ul>
% for i in ["Lucrest"]: % for j in ["cass", "chandra", "colt", "driscoll", "katherine", "van"]:
<li class="list">{{random.choice(['.','•','☆','★'])}}&#9;<a href=/loc/{{i}}>{{i}}</a></li> <li class="list">{{random.choice(['.','•','☆','★'])}}&#9;<a href=/story/tag/{{j}}>{{j}}</a></li>
% end % end
</ul> </ul>
</details> </details>
</details>
<br>
<a href="art">art</a><br>
<br> <br>
<a href="presskit">presskit</a><br> <a href="about-me">about me, Chimchooree</a><br>
<br>
<a href="https://wiki.blessfrey.me/view/Blessfrey">study wiki</a><br>
<br>
</div></div> </div></div>

Loading…
Cancel
Save