腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(46)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
1
回答
通过Javascript直接从数组创建
metalsmith
集合
我正在使用
Metalsmith
的JavaScript应用编程接口和
metalsmith
-collections生成一个静态站点。const
Metalsmith
= require('
metalsmith
')const layouts = require('
metalsmith
-layout
浏览 15
提问于2019-03-07
得票数 1
2
回答
如何在
metalsmith
中运行bash脚本
如何让
metalsmith
运行bash脚本?你能做到吗? copy = require('
metalsmith
-copy'), markdown = require
浏览 4
提问于2015-03-21
得票数 1
1
回答
Metalsmith
布局导致“没有要处理的文件”错误
我认真地遵循了official community driven docs上的教程,但未能编译关于使用Handlebar和
metalsmith
-layouts的项目。出现"
Metalsmith
·没有要处理的文件“错误。.│ └── index.html│ └── main.hbsconst layouts =
浏览 26
提问于2019-01-26
得票数 3
回答已采纳
1
回答
让
metalsmith
、contentful和markdown协同工作
我正在尝试使用
Metalsmith
来呈现content平台中的内容(按照示例使用
metalsmith
-contentful平台和
metalsmith
-layout )。
浏览 12
提问于2017-07-06
得票数 0
回答已采纳
1
回答
Metalsmith
html模板视图模型绑定
我想创建静态html页面并将内容绑定到javascript对象,我知道有一个名为
MetalSmith
-layout的插件,它将markdown文件中的值绑定到html,但对于我来说,绑定值是动态的,所以我无法准备静态
浏览 10
提问于2017-08-19
得票数 0
回答已采纳
1
回答
在
metalsmith
.IO中使用EmberJS
我需要在一个已经存在的codesmith.IO项目中使用EmberJS,这个项目之前使用的是Angular 1。我觉得我在实现它方面缺少了一些简单的东西,而且因为我一直使用Ember CLI为新应用程序生成模板,所以我有点迷失了Ember在codesmith这样的环境中运行所需要的东西,codesmith是一个常规的静态站点生成器。
浏览 6
提问于2017-08-22
得票数 0
回答已采纳
2
回答
无法获得最基本的
metalsmith
安装来构建页面
Metalsmith
将自己描绘成一个极其简单的静态站点生成器。我正在尝试编写最基本的站点,只是为了让自己熟悉软件的基础知识,但我似乎连这些都不能构建。下面是我的文件夹结构:|- index.js |-index.html |-index.hbtvar
Metalsmith
= require('
metalsmith
'); .
浏览 5
提问于2015-05-06
得票数 1
1
回答
Metalsmith
.js:如何构建与构建脚本相同的目录?
site-src/ - node\_modules- package.json以下是我的build.js源代码: .source("_site_src") .
浏览 2
修改于2018-05-04
得票数 3
回答已采纳
1
回答
Metalsmith
无法逃脱Markdown + Nunjucks的输出
我被这个问题卡住了。当我使用中解释的Markdown + Nunjucks时,输出是错误的(见下文)。<!DOCTYPE html> <head> <title>{{title}}</title> <body> &
浏览 6
提问于2019-04-13
得票数 0
1
回答
如何在
Metalsmith
中使用下划线的分词?
我在我的
Metalsmith
网站上使用下划线的模板引擎,但在访问footer partial时遇到了一些问题。下面是我的
Metalsmith
构建文件的模板部分:.use(layouts({ directory: 'templates', partials
浏览 6
提问于2017-04-17
得票数 0
1
回答
如何使用npm contentful集成与
metalsmith
对条目列表进行排序?
我正在尝试使用上显示的contentful
metalsmith
示例对条目列表进行排序.source('src') .destination('build'
浏览 5
修改于2017-12-05
得票数 0
1
回答
如何在
metalsmith
布局中使用haml做偏导数
如何在
metalsmith
布局中使用带有haml的分词? 文档中列出了{{> nested/footer }}作为在车把中使用分音的一种方式,但我无法找到与haml等效的方式。
浏览 1
修改于2016-03-16
得票数 0
1
回答
Metalsmith
插件:为什么tiny-lr服务器启动了两次?
= require('chalk'), return function(files,
metalsmith
/index.js:26:12 at next (/Users/benjamin/Desktop/metal/node_modules/
metalsmith
/node_modules/ware/l
浏览 9
修改于2019-03-26
得票数 1
1
回答
使用
Metalsmith
和swig访问模型中的单个对象
我有一个包含多个对象的json数据文件,其中包含命名键。 "berlin:" : { "folder": "berlin-2016" "seattle" : { "folder": "seattle-2016"} 在我的内容文件中,我想指定使用模型中的哪个对象,然后在swig中引用该
浏览 6
修改于2016-04-21
得票数 0
1
回答
使用nunjucks包括在现场使用
Metalsmith
,从而导致呈现错误。
我正在使用
Metalsmith
和Nunjucks创建一个静态网站。 我没有问题创建一个类似博客的网站,意思是创建一个布局,在其中我可以包装一些标记内容,使用金属匠布局插件。
浏览 2
提问于2018-04-12
得票数 0
回答已采纳
1
回答
Metalsmith
静态站点生成器:如何制作页面的URL :一/二/三?
如何制作页面的URL :一/二/三?这项工作必须通过模板中的url变量来完成。我使用。我把它挂上了,模式被指定为:url。如何制作网页地址,输入hello/world?
浏览 4
提问于2014-07-01
得票数 3
3
回答
这个金属匠-就地建造剧本有什么问题?
我的构建脚本: inplace = require('
metalsmith
-in-place'), .source('.(err) { } console.info(&
浏览 2
修改于2016-05-04
得票数 3
回答已采纳
1
回答
金属匠布局-没有需要处理的文件
Build.js var markdown = require('
metalsmith
-markdown'); var handlebars = require('handlebars'); var('jstransformer
浏览 2
修改于2020-05-08
得票数 1
回答已采纳
1
回答
无法使金属匠-布局和金属匠-就地工作
以下是我的index.js代码:const
metalsmith
= require('
metalsmith
');const layouts = require('
metalsmith
-layouts'); const assets = require('
metalsmi
浏览 4
修改于2017-12-05
得票数 2
回答已采纳
1
回答
金属匠静态站点生成器(带有react )
但是我发现了的插件:var
Metalsmith
= require('
metalsmith
'); .clean(true) directory: 'templates', isStatic
浏览 0
修改于2016-02-22
得票数 0
回答已采纳
第 2 页
第 3 页
点击加载更多
领券