= e(py_t('主题包独立于内核,切换后前台模板立即生效。')) ?>
= e(py_t('请确认 themes 目录包含完整的 theme.json。')) ?>
= e($theme['description'] ?? py_t('暂无描述')) ?>
= e(py_t('主题位于')) ?> themes/{code}/= e(py_t(',必须包含')) ?> theme.json(code / name / version / author / description / screenshot)。
= e(py_t('模板文件约定:')) ?>index.html = e(py_t('首页')) ?>、list.html = e(py_t('分类列表')) ?>、show.html = e(py_t('文章详情')) ?>、search.html = e(py_t('搜索')) ?>、404.html = e(py_t('错误页')) ?>。
= e(py_t('模板可调用')) ?> $articles、$category、$article = e(py_t('等变量,CSS 与图片放在')) ?> assets/ = e(py_t('下并通过')) ?> py_asset() = e(py_t('引用。')) ?>