Open jonschlinkert opened 10 years ago
Currently we use the name patterns the options (huh!? who's bad idea was this!? okay it was me...):
patterns
options: { permalinks: { structure: ':author/:basename/index.html', patterns: [ { pattern: ':author', replacement: '<%= _str.slugify(pkg.author.name) %>' } ] } }
replacements makes much more sense:
replacements
options: { permalinks: { structure: ':author/:basename/index.html', replacements: [ { pattern: ':author', replacement: '<%= _str.slugify(pkg.author.name) %>' } ] } }
+1 I think we use patterns for another helper or plugin too.
? do you mean replacements?
Currently we use the name
patterns
the options (huh!? who's bad idea was this!? okay it was me...):replacements
makes much more sense: