26 lines
1.3 KiB
HTML
26 lines
1.3 KiB
HTML
|
{% assign author_urls = '' %}
|
||
|
{% if page.website_url %}
|
||
|
{% assign author_urls = author_urls | append: '"' | append: page.website_url | append: '",' %}
|
||
|
{% endif %}
|
||
|
{% if page.github_username %}
|
||
|
{% assign author_urls = author_urls | append: '"https://github.com/' | append: page.github_username | append: '",' %}
|
||
|
{% endif %}
|
||
|
{% if page.facebook_username %}
|
||
|
{% assign author_urls = author_urls | append: '"https://www.facebook.com/' | append: page.facebook_username | append: '",' %}
|
||
|
{% endif %}
|
||
|
{% if page.twitter_username %}
|
||
|
{% assign author_urls = author_urls | append: '"https://twitter.com/' | append: page.twitter_username | append: '",' %}
|
||
|
{% endif %}
|
||
|
{% if page.medium_username %}
|
||
|
{% assign author_urls = author_urls | append: '"https://medium.com/@' | append: page.medium_username | append: '",' %}
|
||
|
{% endif %}
|
||
|
{% if page.instagram_username %}
|
||
|
{% assign author_urls = author_urls | append: '"https://www.instagram.com/' | append: page.instagram_username | append: '",' %}
|
||
|
{% endif %}
|
||
|
{% if page.linkedin_username %}
|
||
|
{% assign author_urls = author_urls | append: '"https://www.linkedin.com/in/' | append: page.linkedin_username | append: '",' %}
|
||
|
{% endif %}
|
||
|
{% if page.telegram_username %}
|
||
|
{% assign author_urls = author_urls | append: '"https://t.me/' | append: page.telegram_username | append: '",' %}
|
||
|
{% endif %}
|