<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{{.title}}</title>
    <link rel="stylesheet" href="/css/style.css">
    <link rel="icon" href="/img/favicon.png" type="image/png">
</head>
<body>
    <div class="error-page">
        <div class="container">
            <div class="error-code error-500">500</div>
            <h2 class="error-title">服务器内部错误</h2>
            <p class="error-message">
                抱歉，服务器在处理您的请求时发生错误
            </p>
            {{if .message}}
                <div class="error-path">
                    错误信息: {{.message}}
                </div>
            {{end}}
            <a href="/" class="back-home-btn">
                <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                    <path d="M19 12H5M12 19l-7-7 7-7"/>
                </svg>
                返回首页
            </a>
        </div>
    </div>
</body>
</html>
