diff --git a/README.md b/README.md index bb8a9d3..0910de1 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,24 @@ bundle install ``` bundle exec jekyll serve ``` + +You should see something like: + +``` +Configuration file: /octocat/personal-website/_config.yml + Source: /octocat/personal-website + Destination: /octocat/_site + Incremental build: disabled. Enable with --incremental + Generating... + GitHub Metadata: No GitHub API authentication could be found. Some fields may be missing or have incorrect data. + done in 14.729 seconds. + Auto-regeneration: enabled for '/octocat/personal-website' + Server address: http://127.0.0.1:4000 + Server running... press ctrl-c to stop. +``` + +Don't worry about the "No GitHub API authentication could be found" message. [API authentication is only necessary](https://github.com/jekyll/github-metadata/blob/master/docs/authentication.md) if you intend to display more detailed metadata, like a branch name. + 6. Now browse to [http://localhost:4000](http://localhost:4000) ### Publish @@ -110,6 +128,8 @@ social_media: telegram: your_username twitter: your_username youtube: your_username + instagram: your_username + unsplash: your_username vk: your_username ``` diff --git a/_config.yml b/_config.yml index 6901970..fbb90be 100644 --- a/_config.yml +++ b/_config.yml @@ -37,6 +37,8 @@ projects: # telegram: your_username # twitter: your_username # youtube: your_username + # instagram: your_username + # unsplash: your_username # vk: your_username topics: diff --git a/_data/social_media.yml b/_data/social_media.yml index 6aea1c3..e93cdd9 100644 --- a/_data/social_media.yml +++ b/_data/social_media.yml @@ -47,6 +47,16 @@ dribbble: profile_url_prefix: https://dribbble.com/ icon_svg: '' +instagram: + name: Instagram + profile_url_prefix: https://www.instagram.com/ + icon_svg: '' + +unsplash: + name: Unsplash + profile_url_prefix: https://www.unsplash.com/ + icon_svg: '' + vk: name: VK profile_url_prefix: https://vk.com/ diff --git a/_includes/header.html b/_includes/header.html index d36b79a..f699772 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -11,8 +11,10 @@ {% assign user = site.github.owner %} {% if page.path contains '_posts' %} + {% assign page_title = page.title %} {% assign meta_description = page.content | strip_html | strip_newlines | xml_escape | truncate: 300 %} {% else %} + {% assign page_title = user.name %} {% assign meta_description = user.bio | strip_html | strip_newlines | xml_escape | truncate: 300 %} {% endif %} @@ -20,8 +22,11 @@ + {{ page_title }} - {{ user.name }} + + +