{% set player_bar = [ ('/npc/spells', 'spells', 'Spells'), ('/worldmap', 'worldmap', 'Maps'), ('https://reddit.com/r/PalismaACKS/wiki', 'redditwiki', 'Wiki'), ] %} {% set judge_bar = [ ('/lairs', 'lairs', 'Lairs'), ('http://autarch.co/treasure', 'treasure', 'Treasure'), ('/quest/list', 'questlist', 'Quests'), ('/npc/party', 'npcparty', 'Generate Party'), ('/npc/single', 'npcsingle', 'Generate NPC'), ('/wiki', 'wiki', 'Wiki'), ]%} {% set navigation_bar = [ ('/', 'index', 'Home'), ('/handbook', 'handbook', 'Handbook'), (player_bar, 'section', 'Player Resources'), (judge_bar, 'section', 'Judge Resources'), ('https://reddit.com/r/PalismaACKS', 'subreddit', '/r/PalismaACKS'), ] %} {% set active_page = active_page|default('index') %}