Skip to content

Instantly share code, notes, and snippets.

@Roang-zero1
Created April 22, 2016 11:36
Show Gist options
  • Select an option

  • Save Roang-zero1/a7f36b670035afe5c0f4f17bb37bee03 to your computer and use it in GitHub Desktop.

Select an option

Save Roang-zero1/a7f36b670035afe5c0f4f17bb37bee03 to your computer and use it in GitHub Desktop.
Temp Fix for generator-jekyllized issue #124
--- index.js 2016-04-22 13:33:30.268003201 +0200
+++ index_patched.js 2016-04-22 13:33:48.631000277 +0200
@@ -52,7 +52,7 @@
chalk.yellow('? ') + 'What will the URL for your project be?',
filter: function (input) {
if (!input.startsWith('www') && !input.startsWith('http') || input.startsWith('www')) {
- output = 'http://' + input;
+ var output = 'http://' + input;
return output;
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment