base-blog:使用 Lume 静态站点生成器构建博客的模板存储库

时间:2021-07-24 14:33:26
【文件属性】:
文件名称:base-blog:使用 Lume 静态站点生成器构建博客的模板存储库
文件大小:24KB
文件格式:ZIP
更新时间:2021-07-24 14:33:26
blog static-site-generator ssg netlify-cms deno lume-base-blog 展示如何使用静态站点生成器构建博客的入门存储库。 这个项目最初是从一个分支开始的,但后来适应了 Lume 和 NetlifyCMS。 入门 克隆这个仓库git clone https://github.com/lumeland/base-blog.git my-blog-name 编辑_data/site.yml 。 具体看看_config.js看看你是否想以不同的方式配置任何选项。 请参阅。 确保您安装了最新版本的 Deno 和 lume: deno upgrade && lume upgrade 运行 Lume lume --serve 实施说明 about.md显示了如何添加内容页面。 posts/有博客文章,但实际上它们可以存在于任何目录中。 posts/_data.yml文件将type和layout字段的值添加到所有帖子。 menu字段
【文件预览】:
base-blog-master
----feed.tmpl.js(759B)
----netlify.toml(238B)
----admin()
--------index.njk(602B)
--------config.tmpl.js(2KB)
----.github()
--------workflows()
----styles.css(259B)
----sitemap.xml.njk(281B)
----404.md(85B)
----.fleek.json(176B)
----tags.njk(186B)
----_includes()
--------layouts()
--------css()
--------templates()
----img()
--------.gitkeep(0B)
----js()
--------main.js(22B)
--------search.js(2KB)
--------suggestions.js(12KB)
----_data()
--------site.yml(201B)
----posts()
--------firstpost.md(1KB)
--------fifthpost.md(195B)
--------_data.yml(36B)
--------secondpost.md(1KB)
--------fourthpost.md(1KB)
--------thirdpost.md(1KB)
----index.njk(364B)
----archive.tmpl.js(519B)
----robots.txt.njk(56B)
----README.md(4KB)
----feed.xml.njk(856B)
----_config.ts(606B)
----search.tmpl.js(547B)
----tag.tmpl.js(238B)
----about.md(141B)
----.gitignore(15B)

网友评论