<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Hello World 演示 - {{ blog_setting('site_name', config('blog.name')) }}</title>
    <link rel="stylesheet" href="{{ theme('asset', 'style.css') }}">
</head>
<body>
@include('partials.header')
<div class="container main-layout">
    <main class="content">
        <article class="post-full">
            <h1 class="post-title">Hello World 演示页</h1>
            <p>这个页面由插件路由渲染，视图来自插件目录 <code>views/hello.blade.php</code>（命名空间 <code>demo-hello::</code>）。</p>
            <p>在文章正文里写 <code>[hello 世界]</code>，渲染时会变成：<span class="hello-world">你好，世界！</span></p>
            <p>最近捕获的评论（<code>hello_world_logs</code> 表）：</p>
            <ul>
                @forelse($logs as $log)
                    <li>#{{ $log->comment_id }}：{{ $log->note }}</li>
                @empty
                    <li>暂无记录，去发一条评论试试</li>
                @endforelse
            </ul>
        </article>
    </main>
    @include('partials.sidebar')
</div>
@include('partials.footer')
</body>
</html>
