add options to display avatar or not
This commit is contained in:
@@ -9,6 +9,7 @@ sass:
|
||||
style: compressed
|
||||
|
||||
# Resume settings
|
||||
resume_avatar: "true"
|
||||
resume_name: "Homer J. Simpson"
|
||||
resume_title: "Nuclear Safety Inspector"
|
||||
resume_contact_email:
|
||||
|
||||
@@ -9,7 +9,10 @@
|
||||
|
||||
<header class="page-header">
|
||||
|
||||
<!-- You can turn off the avatar in _config.yml by setting to false -->
|
||||
{% if site.resume_avatar == 'true' %}
|
||||
<img src="images/avatar.jpg" alt="my photo" class="avatar">
|
||||
{% endif %}
|
||||
|
||||
<!-- Your name is defined in the _config.yml file -->
|
||||
<h1 class="header-name">{{ site.resume_name }}</h1>
|
||||
|
||||
Reference in New Issue
Block a user