Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable custom SVG as social icon #2562

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ flickr_id: # your flickr id
github_username: # your GitHub user name
gitlab_username: # your GitLab user name
ieee_id: # your ieeexplore.ieee.org/author/id
ietf_id: # your datatracker.ietf.org/person/username (usually an email address)
instagram_id: # your instagram id
kaggle_id: # your kaggle id
keybase_username: # your keybase user name
Expand Down
3 changes: 3 additions & 0 deletions _includes/social.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
{% if site.ieee_id %}
<a href="https://ieeexplore.ieee.org/author/{{site.ieee_id}}/" title="IEEE Xplore"><i class="ai ai-ieee"></i></a>
{% endif %}
{% if site.ietf_id %}
<a href="https://datatracker.ietf.org/person/{{site.ietf_id}}/" title="IETF Profile">{% include svg/ietf.svg %}</a>
{% endif %}
{% if site.acm_id %}
<a href="https://dl.acm.org/profile/{{site.acm_id}}/" title="ACM DL"><i class="ai ai-acm"></i></a>
{% endif %}
Expand Down
32 changes: 32 additions & 0 deletions _includes/svg/ietf.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions _sass/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,10 @@ ul.task-list input[type="checkbox"] {
}
}

svg {
height: 4rem;
}

.contact-note {
font-size: 0.8rem;
}
Expand Down