diff --git a/README.md b/README.md index bb8a9d3..5994e73 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 @@ -104,13 +122,18 @@ social_media: behance: your_username dribbble: your_username facebook: your_username + hackerrank: your_username + instagram: your_username + keybase: your_username linkedin: your_username - medium: @your_username + medium: your_username stackoverflow: your_user_id telegram: your_username twitter: your_username - youtube: your_username + unsplash: your_username vk: your_username + website: http://your_website_url + youtube: your_username ``` Links to your profile for each of the services you define will appear in the `
` of your website, appended to your bio. And if those services support sharing, any blog posts that you publish will include links to share that post using each social media service. diff --git a/_config.yml b/_config.yml index 6901970..f744fd7 100644 --- a/_config.yml +++ b/_config.yml @@ -31,13 +31,18 @@ projects: # behance: your_username # dribbble: your_username # facebook: your_username + # hackerrank: your_username + # instagram: your_username + # keybase: your_username # linkedin: your_username - # medium: @your_username + # medium: your_username # stackoverflow: your_user_id # telegram: your_username # twitter: your_username - # youtube: your_username + # unsplash: your_username # vk: your_username + # website: http://your_website_url + # youtube: your_username topics: - name: CSS diff --git a/_data/social_media.yml b/_data/social_media.yml index 6aea1c3..8a97f5d 100644 --- a/_data/social_media.yml +++ b/_data/social_media.yml @@ -3,12 +3,33 @@ behance: profile_url_prefix: https://www.behance.net/ icon_svg: ' ' +dribbble: + name: Dribbble + profile_url_prefix: https://dribbble.com/ + icon_svg: '' + facebook: name: Facebook profile_url_prefix: https://www.facebook.com/ share_url_prefix: https://www.facebook.com/sharer/sharer.php?u= icon_svg: '' +hackerrank: + name: HackerRank + profile_url_prefix: https://www.hackerrank.com/ + icon_svg: '' + +instagram: + name: Instagram + profile_url_prefix: https://www.instagram.com/ + icon_svg: '' + +keybase: + name: Keybase + profile_url_prefix: https://keybase.io/ + share_url_prefix: https://keybase.io/ + icon_svg: '' + linkedin: name: LinkedIn profile_url_prefix: https://www.linkedin.com/in/ @@ -17,7 +38,7 @@ linkedin: medium: name: Medium - profile_url_prefix: https://medium.com/ + profile_url_prefix: https://medium.com/@ icon_svg: '' stackoverflow: @@ -37,18 +58,22 @@ twitter: share_url_prefix: https://twitter.com/share?url= icon_svg: '' -youtube: - name: YouTube - profile_url_prefix: https://www.youtube.com/ - icon_svg: '' - -dribbble: - name: Dribbble - profile_url_prefix: https://dribbble.com/ - icon_svg: '' +unsplash: + name: Unsplash + profile_url_prefix: https://www.unsplash.com/ + icon_svg: '' vk: name: VK profile_url_prefix: https://vk.com/ share_url_prefix: https://vk.com/share.php?url= icon_svg: '' + +website: + name: Website + icon_svg: '' + +youtube: + name: YouTube + profile_url_prefix: https://www.youtube.com/ + icon_svg: '' diff --git a/_includes/header.html b/_includes/header.html index d6de987..f699772 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -11,18 +11,23 @@ {% 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 %} - + + {{ page_title }} - {{ user.name }} + + + - + diff --git a/_includes/masthead.html b/_includes/masthead.html index 995d899..e6b6cff 100644 --- a/_includes/masthead.html +++ b/_includes/masthead.html @@ -40,7 +40,7 @@
{% assign service_shortname = account[0] %} {% assign service = site.data.social_media[service_shortname] %} - + {{ service.icon_svg }}{{ service.name }}
diff --git a/_layouts/default.html b/_layouts/default.html index d5f4b10..3b23590 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -11,7 +11,7 @@ {% else %} -
+
{% include masthead.html metadata=true %}
diff --git a/_layouts/home.html b/_layouts/home.html index 4379d5d..967fe11 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -25,7 +25,7 @@ {% endunless %}
{% else %} -
+
{% include masthead.html metadata=true %}
diff --git a/_layouts/post.html b/_layouts/post.html index ffa3cf5..c53e304 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -47,7 +47,7 @@
{% else %} -
+
{% include masthead.html metadata=true %}
diff --git a/assets/styles.scss b/assets/styles.scss index cf3fe80..1536e3b 100644 --- a/assets/styles.scss +++ b/assets/styles.scss @@ -37,3 +37,7 @@ padding-left: 16px; } } + +.min-height-full { + min-height: 100vh; +}