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

Add PGP key option in Contact section #217

Merged
merged 1 commit into from
Jul 11, 2020
Merged
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
4 changes: 4 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@ timeline-img: "/img/timeline/default.png"

email: "[email protected]"


# Set a url pointing to your publish PGP Public Key here, and it will appear in the Contact section
pgp: False

################
# Author Blurb #
################
Expand Down
5 changes: 5 additions & 0 deletions _includes/contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@
{% endif %}
{% endif %}

{% if site.pgp %}
<a href="{{ site.pgp }}" target="_blank">PGP Key</a>
<p/>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This <p/> component tag is bad and it does not have the begin tag.

{% endif %}

</div>
</div>
</section>
Expand Down