{{ define "main" }}
  <article class="max-w-4xl mx-auto bg-white rounded-lg shadow-md overflow-hidden">
    <header class="p-8 border-b border-gray-100 relative overflow-hidden">
      <!-- 装饰背景 -->
      <div class="absolute top-0 right-0 w-64 h-64 bg-gradient-to-bl from-blue-50 to-transparent rounded-full opacity-70 -z-0 blur-2xl transform translate-x-1/4 -translate-y-1/4"></div>
      
      <!-- 文章元数据 -->
      {{ if .Params.categories }}
      <div class="mb-3 flex">
        {{ range 