{% extends "base.html" %}
{% block title %}Server Error — {{ config.BBS_NAME or 'ANetBBS' }}{% endblock %}
{% block content %}
<div class="bbs-header">
    <h1><i class="bi bi-exclamation-triangle"></i> 500 — Server Error</h1>
</div>

<div class="card p-3">
    <p>Something went wrong on our end. The error has been logged.</p>
    <p class="small text-muted">
        If this keeps happening, the sysop can find the traceback in
        <code>logs/anetbbs.log</code> or <code>journalctl -u anetbbs-web</code>.
    </p>
    <p>
        <a href="{{ url_for('main.index') }}" class="btn btn-primary">
            <i class="bi bi-house"></i> Home
        </a>
        <a href="javascript:history.back()" class="btn btn-secondary">
            <i class="bi bi-arrow-left"></i> Back
        </a>
    </p>
</div>
{% endblock %}
