blog.trnck.dev
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #64 from jameslvdb/social-media-readme-update

Add social media instructions to README

authored by

Brandon Rosage and committed by
GitHub
c8053d80 bce9c765

+25 -21
+25
README.md
··· 80 80 - `web_url`: The web address you'd like to your topic to link to (e.g. `https://github.com/topics/sass`). 81 81 - `image_url`: The web address of an (ideally square) image that you'd like to appear with your topic. 82 82 83 + #### Social media 84 + 85 + Your website supports linking and sharing to social media services you're using, including Facebook, Dribbble, LinkedIn, Twitter, and YouTube. To identify the services you use: 86 + 87 + 1. Edit your repository's `_config.yml` file. 88 + 2. Add a `social_media` dictionary line, and represent the services you like in a simple `key: value` form: 89 + 90 + ``` 91 + social_media: 92 + facebook: your_username 93 + dribbble: your_username 94 + linkedin: your_username 95 + twitter: your_username 96 + youtube: your_username 97 + ``` 98 + 99 + Links to your profile for each of the services you define will appear in the `<header>` 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. 100 + 101 + **Note**: This feature is supported by two files in your repository: 102 + 103 + - `/_data/social_media.yml`: Defines each of the supported services, including variable name, display name, URL path, and SVG icon. 104 + - `/_includes/social_media_share_url.html`: Outputs the share URL required for any of the supported social media services that support sharing URLs. 105 + 106 + If you're interested in adding a social media service that's not already supported in this repo, you can edit these two files to build that support. 107 + 83 108 ## Adding pages 84 109 85 110 To **add a page** to your website (e.g. detailed resume):
-21
github-personal-website.gemspec
··· 1 - # frozen_string_literal: true 2 - 3 - Gem::Specification.new do |spec| 4 - spec.name = "github-personal-website" 5 - spec.version = "0.1.1" 6 - spec.authors = ["Brandon Rosage"] 7 - spec.email = ["brandonrosage@github.com"] 8 - 9 - spec.summary = "Jekyll theme for software developers interested in creating a personal website." 10 - spec.homepage = "http://github.dev." 11 - spec.license = "MIT" 12 - 13 - spec.files = `git ls-files -z`.split("\x0").select do |f| 14 - f.match(%r{^(_(includes|layouts|sass)/|(LICENSE|README)((\.(txt|md|markdown)|$)))}i) 15 - end 16 - 17 - spec.add_runtime_dependency "jekyll", "~> 3.7" 18 - 19 - spec.add_development_dependency "bundler", "~> 2.0.1" 20 - spec.add_development_dependency "rake", "~> 12.0" 21 - end