Skip to content

Commit 9502938

Browse files
committed
Mention social links in README
1 parent 2f367fd commit 9502938

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ Refers to snippets of code within the `_includes` directory that can be inserted
4747
- `google-analytics.html` — Inserts Google Analytics module (active only in production environment).
4848
- `head.html` &mdash; Code-block that defines the `<head></head>` in *default* layout.
4949
- `header.html` &mdash; Defines the site's main header section.
50-
- `icon-* files` &mdash; Inserts github and twitter ids with respective icons.
5150

5251
### Sass
5352

@@ -122,6 +121,27 @@ If you don't want to display comments for a particular post you can disable them
122121

123122
--
124123

124+
### Social networks
125+
126+
You can add links to the accounts you have on other sites, with respective icon, by adding one or more of the following options in your config:
127+
128+
```yaml
129+
twitter_username: jekyllrb
130+
github_username: jekyll
131+
dribbble_username: dribbble
132+
facebook_username: fb
133+
flickr_username: flickr
134+
instagram_username: ig
135+
linkedin_username: linkedin
136+
pinterest_username: pinterest
137+
stackoverflow_username: stackoverflow
138+
youtube_username: youtube
139+
googleplus_username: google+
140+
rss: rss
141+
```
142+
143+
--
144+
125145
### Enabling Google Analytics
126146
127147
To enable Google Anaytics, add the following lines to your Jekyll site:

_config.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,16 @@ description: > # this means to ignore newlines until "baseurl:"
88
99
twitter_username: jekyllrb
1010
github_username: jekyll
11+
rss: rss
12+
#dribbble_username: dribbble
13+
#facebook_username: fb
14+
#flickr_username: flickr
15+
#instagram_username: ig
16+
#linkedin_username: linkedin
17+
#pinterest_username: pinterest
18+
#stackoverflow_username: stackoverflow
19+
#youtube_username: youtube
20+
#googleplus_username: google+
1121

1222
# Minima date format
1323
# refer to http://shopify.github.io/liquid/filters/date/ if you want to customize this

0 commit comments

Comments
 (0)