{% if setup_step == 'no_config' %}
Welcome to df-storyteller! Get started in 3 steps:
  1. Run python -m df_storyteller init in your terminal to configure your DF path and LLM provider
  2. In the DFHack console, run storyteller-begin to take your first fortress snapshot
  3. Come back here and start generating stories!
{% elif setup_step == 'no_data' %}
Almost there! No fortress data found yet.
  1. Launch Dwarf Fortress and load a save (or embark on a new fortress)
  2. In the DFHack console, run storyteller-begin to snapshot your dwarves
  3. Click refresh to load the data
{% elif fortress_name %}
{{ fortress_name }} {% if site_name and site_name != fortress_name %} "{{ site_name }}" {% endif %} {% if civ_name %} {{ civ_name }} {% endif %} {% if biome %} {{ biome }} {% endif %} Year {{ year }}, {{ season }} {{ population }} dwarves {% if event_count %}{{ event_count }} events{% endif %} {% if last_updated %}Updated: {{ last_updated }}{% endif %} ↻ refresh
{% endif %}
{% block content %}{% endblock %}
{% block scripts %}{% endblock %}