File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,12 @@ metalsmith.use(markdown({
31
31
* Transform Asciidoc files to HTML
32
32
*/
33
33
metalsmith . use ( asciidoctor ( {
34
- pattern : "**/*.adoc"
34
+ pattern : "**/*.adoc" ,
35
+ options : {
36
+ attributes : {
37
+ "icons" : "font"
38
+ }
39
+ }
35
40
} ) ) ;
36
41
37
42
/*
@@ -88,6 +93,10 @@ metalsmith.use(assets([
88
93
{
89
94
"src" : "assets" ,
90
95
"dest" : "."
96
+ } ,
97
+ {
98
+ "src" : "node_modules/font-awesome/fonts" ,
99
+ "dest" : "fonts"
91
100
}
92
101
] ) ) ;
93
102
Original file line number Diff line number Diff line change 11
11
"devDependencies" : {
12
12
"bootstrap" : " 3.3.7" ,
13
13
"browser-sync" : " ^2.18.8" ,
14
+ "font-awesome" : " ^4.7.0" ,
14
15
"handlebars" : " 4.0.5" ,
15
16
"metalsmith" : " 1.7.0" ,
16
17
"metalsmith-asciidoctor" : " ^1.1.0" ,
Original file line number Diff line number Diff line change 1
1
@import " node_modules/bootstrap/less/bootstrap.less" ;
2
+ @import " node_modules/font-awesome/less/font-awesome.less" ;
2
3
@import " src/css/custom.less" ;
You can’t perform that action at this time.
0 commit comments