Help us understand the problem. What is going on with this article?

HugoでGravater登録画像を表示するサンプル

More than 1 year has passed since last update.

自分用の備忘録。Gravaterに登録した画像をHugoから呼び出す。自分のメルアド公開が前提。

config.toml

[Params]
gravatar = "alkn203@gmail.com"

partial(html)

{{ with .Site.Params.gravatar }}<div><img src="https://www.gravatar.com/avatar/{{ md5 . }}"></div>{{ end }}
alkn203
javascriptのゲームライブラリphina.jsを愛用している趣味プログラマ。ファミコン世代。 Hobbyist programmer javascript/html5/phina.js/retro games
http://qiita.com/alkn203/items/bca3222f6b409382fe20
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away