diff --git a/README.md b/README.md index 4fdf36eee3..62384facd0 100644 --- a/README.md +++ b/README.md @@ -217,6 +217,9 @@ mastodon: instance: example.com - username: jekyll2 instance: example.com + +youtube_channel: UC8CXR0-3I70i1tfPg1PAE1g +youtube_channel_name: CloudCannon ``` -- diff --git a/_config.yml b/_config.yml index d6dd5fbc25..dd5307b50b 100644 --- a/_config.yml +++ b/_config.yml @@ -17,6 +17,8 @@ rss: rss # linkedin_username: jekyll # pinterest_username: jekyll # youtube_username: jekyll +# youtube_channel: UC8CXR0-3I70i1tfPg1PAE1g +# youtube_channel_name: CloudCannon # googleplus_username: +jekyll # microdotblog_username: jekyll diff --git a/_includes/social.html b/_includes/social.html index 3fe2202c37..0fa0c2add7 100644 --- a/_includes/social.html +++ b/_includes/social.html @@ -9,6 +9,7 @@ {%- for mst in site.mastodon -%}{%- if mst.username and mst.instance -%}
  • {{ mst.username|escape }}
  • {%- endif -%}{%- endfor -%} {%- if site.twitter_username -%}
  • {{ site.twitter_username| escape }}
  • {%- endif -%} {%- if site.youtube_username -%}
  • {{ site.youtube_username| escape }}
  • {%- endif -%} + {%- if site.youtube_channel -%}
  • {%- if site.youtube_channel_name -%}{{ site.youtube_channel_name | escape }}{%- else -%}YouTube{%- endif -%}
  • {%- endif -%} {%- if site.microdotblog_username -%}
  • {{ site.microdotblog_username| escape }}
  • {%- endif -%} {%- if site.googleplus_username -%}
  • {{ site.googleplus_username| escape }}
  • {%- endif -%} {%- if site.rss -%}
  • {{ site.rss | escape }}
  • {%- endif -%}