generator-jekyll-utils:将 Yeoman 包含到您的 Jekyll 工作流程中

时间:2021-07-06 11:08:26
【文件属性】:
文件名称:generator-jekyll-utils:将 Yeoman 包含到您的 Jekyll 工作流程中
文件大小:14KB
文件格式:ZIP
更新时间:2021-07-06 11:08:26
JavaScript 生成器-jekyll-utils 内容的生成器。 安装 运行以下命令npm install -g generator-jekyll-utils : npm install -g generator-jekyll-utils 。 用法 cd进入您的 Jekyll 项目并运行以下任何命令: yo jekyll-utils:draft yo jekyll-utils:post yo jekyll-utils:page 要将草稿变成帖子,请运行yo jekyll-utils:publish 。 这将更新日期并提示更改标题。 选项 在参数中写入TITLE : yo jekyll-utils:page About Me 。 使用--skip-greeting标志隐藏 Yeoman :frowning_face: . 支持 如果您正在使用令人惊叹的您可以从根文件夹运行它。 捷径 您可以像 通过将以下代码添加到.fun
【文件预览】:
generator-jekyll-utils-master
----.jshintrc(402B)
----.gitignore(28B)
----publish()
--------index.js(3KB)
----package.json(1019B)
----.travis.yml(236B)
----draft()
--------templates()
--------index.js(3KB)
----LICENSE(1KB)
----post()
--------templates()
--------index.js(3KB)
----README.md(1KB)
----.yo-rc.json(31B)
----page()
--------templates()
--------index.js(3KB)
----.gitattributes(12B)
----test()
--------test-page.js(2KB)
--------test-post.js(3KB)
--------test-publish.js(2KB)
--------test-draft.js(3KB)
----.editorconfig(197B)

网友评论