Skip to content

Commit f27129f

Browse files
committed
Remove asking for Github and Twitter
The social stuff you can add later in my opinion.
1 parent a28a5ea commit f27129f

File tree

5 files changed

+10
-21
lines changed

5 files changed

+10
-21
lines changed

generators/app/index.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,6 @@ module.exports = generators.Base.extend({
7070
name: 'authorBio',
7171
message: 'Write a short description about yourself',
7272
store: true
73-
}, {
74-
name: 'authorTwitter',
75-
message: chalk.blue('You can leave these blank if they are not going to be used\n') +
76-
chalk.yellow('? ') + 'Your Twitter handle ' + chalk.yellow('(without the @):'),
77-
store: true
78-
}, {
79-
name: 'authorGithub',
80-
message: 'Your Github username:',
81-
store: true
8273
}, {
8374
name: 'uploading',
8475
type: 'list',
@@ -148,8 +139,6 @@ module.exports = generators.Base.extend({
148139
authorEmail: this.props.authorEmail,
149140
authorURI: this.props.authorURI,
150141
authorBio: this.props.authorBio,
151-
authorTwitter: this.props.authorTwitter,
152-
authorGithub: this.props.authorGithub,
153142
jekyllPermalinks: this.props.jekyllPermalinks
154143
}
155144
}, {

generators/boilerplate/templates/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ And you'll have a new Jekyll site generated for you and displayed in your
1212
browser. Neato. If you want to run it with production settings, just add
1313
`--prod`.
1414

15+
#### Settings
16+
In your `_config.yml` and `humans.txt` you should add your Github and Twitter
17+
profile if you want to.
18+
1519
## Usage
1620

1721
```sh

generators/jekyll/templates/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ author:
1717
email: <%= authorEmail %>
1818
uri: <%= authorURI %>
1919
bio: <%= authorBio %>
20-
twitter: <%= authorTwitter %>
21-
github: <%= authorGithub %>
20+
twitter:
21+
github:
2222

2323
# _config.build.yml overwrites these options when you run `gulp build`
2424
# Enables future posts (posts with dates in the future) and drafts

generators/jekyll/templates/humans.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# TEAM
55

6-
<%= authorName %> -- <role> -- @<%= authorTwitter %>
6+
<%= authorName %> -- <role> -- @
77

88
# THANKS
99

test/jekyll.js

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ describe('jekyllized:jekyll', function () {
1414
authorName: 'Ola Nordmann',
1515
authorEmail: 'ola.nordmann@email.com',
1616
authorURI: 'homepage.com',
17-
authorBio: 'I am a tester for tests',
18-
authorTwitter: '0lanordmann',
19-
authorGithub: '0lanordmann'
17+
authorBio: 'I am a tester for tests'
2018
};
2119
helpers.run(path.join(__dirname, '../generators/jekyll'))
2220
.inDir(path.join(__dirname, 'tmp/jekyll'))
@@ -54,9 +52,7 @@ describe('jekyllized:jekyll', function () {
5452
'name: Ola Nordmann',
5553
'email: ola.nordmann@email.com',
5654
'uri: homepage.com',
57-
'bio: I am a tester for tests',
58-
'twitter: 0lanordmann',
59-
'github: 0lanordmann'
55+
'bio: I am a tester for tests'
6056
].forEach(function (config) {
6157
assert.fileContent('_config.yml', config);
6258
});
@@ -73,7 +69,7 @@ describe('jekyllized:jekyll', function () {
7369
});
7470

7571
it('fills out humans.txt correctly', function () {
76-
assert.fileContent('src/humans.txt', 'Ola Nordmann -- <role> -- @0lanordmann');
72+
assert.fileContent('src/humans.txt', 'Ola Nordmann -- <role> -- @');
7773
});
7874
});
7975

0 commit comments

Comments
 (0)