处理您的请求时发生错误: Undefined array key "url"
36 <h1 class="article-header-title"><?= $title ?></h1> 37 38 <!-- 文章分类 --> 39 <?php if (!empty($categories)): ?> 40 <div class="article-header-categories"> 41 <?php foreach ($categories as $category): ?> 42 <a href="<?= $category['url'] ?>" class="article-header-category"> 43 <?= $category['name'] ?> 44 </a> 45 <?php endforeach; ?> 46 </div> 47 <?php endif; ?> 48