made avatar name configurable

This commit is contained in:
Jerry Kiely 2019-11-04 00:50:58 +00:00
parent 0beb4b59d4
commit 0bdebe9c7e
3 changed files with 3 additions and 3 deletions

View file

@ -3,8 +3,7 @@
baseURL = "http://example.org/" baseURL = "http://example.org/"
languageCode = "en" languageCode = "en"
title = "" title = ""
theme = "devresume" theme = "hugo-devresume-theme"
# theme = "hugo-devresume-theme"
googleAnalytics = "UA-XXXXXXX-Y" googleAnalytics = "UA-XXXXXXX-Y"
@ -26,6 +25,7 @@ googleAnalytics = "UA-XXXXXXX-Y"
enable = true enable = true
name = "Simon Doe" name = "Simon Doe"
tagline = "Senior Software Engineer" tagline = "Senior Software Engineer"
avatar = "avatar.png"

View file

@ -2,7 +2,7 @@
<div class="media flex-column flex-md-row align-items-center"> <div class="media flex-column flex-md-row align-items-center">
<img class="resume-profile-image mb-3 mb-md-0 mr-md-5 ml-md-0 rounded mx-auto" src="{{ .Site.BaseURL }}assets/images/resume-profile.png" alt="image"> <img class="resume-profile-image mb-3 mb-md-0 mr-md-5 ml-md-0 rounded mx-auto" src="{{ .Site.BaseURL }}assets/images/{{ .Site.Params.profile.avatar }}" alt="image">
<div class="media-body text-left"> <div class="media-body text-left">
<p class="mb-0">{{ .Site.Params.summary.text }}</p> <p class="mb-0">{{ .Site.Params.summary.text }}</p>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB