Skip to content

Commit

Permalink
add support for youtube profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
weallwegot committed Aug 4, 2020
1 parent 007a3f7 commit 33bfb6f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -19,4 +19,5 @@ Strings are case-sensitive.
instagram_custom_field_name: 'Instagram'
twitter_custom_field_name: 'Twitter'
linkedin_custom_field_name: 'LinkedIn Profile'
youtube_custom_field_name: 'Youtube'
```
11 changes: 10 additions & 1 deletion common/head_tag.html
Expand Up @@ -27,7 +27,16 @@
type: 'userField',
value: settings.linkedin_custom_field_name
}
}
},
{
name: 'YouTube',
icon: 'fab-youtube',
link: {
type: 'userField',
value: settings.youtube_custom_field_name,
base: 'https://youtube.com/c/'
}
},
]

fieldOptions.userIconicUserFields = fieldOptions.iconicUserFields
Expand Down
3 changes: 2 additions & 1 deletion settings.yml
@@ -1,8 +1,9 @@
instagram_custom_field_name: 'Instagram'
twitter_custom_field_name: 'Twitter'
linkedin_custom_field_name: 'LinkedIn Profile'
youtube_custom_field_name: 'Youtube'

_icon:
default: "user|globe|fab-twitter|fab-facebook-f|fab-linkedin-in|building|fab-instagram"
default: "user|globe|fab-twitter|fab-facebook-f|fab-linkedin-in|building|fab-instagram|fab-youtube"
type: list
description: "setting necessary to load the appropriate icons"

0 comments on commit 33bfb6f

Please sign in to comment.