Skip to content

Avatar image file #74

Answered by vaga
leomanfredini asked this question in Q&A
Jun 27, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

You should add your avatar file in your /static/ directory. (not in /themes/m10c/static/)
avatar parameter is avatar.jpg by default.

<a href="{{ .Site.BaseURL }}"><img class="app-header-avatar" src="{{ .Site.Params.avatar | default "avatar.jpg" | relURL }}" alt="{{ .Site.Params.author | default "John Doe" }}" /></a>

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dushyant03
Comment options

Answer selected by vaga
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants