HugoでData-Driven Content機能を利用する 記事生成時で取得したデータになってはしまうが(ページ表示の毎アクセス時ではない)、Hugoで外部APIのURLで取得したCSVやJSONデータを利用できるData-Driven Content機能があるので使ってみた。 https://gohugo.io/templates/data-templates - Data Templates Data-Driven Content In addition to the data files feature, Hugo also has a “data-driven content” feature, which lets you load any JSON or CSV file from nearly any resource. Data-driven content curre
![Hugoで外部APIで取得したJSONデータを利用する](https://cdn-ak-scissors.b.st-hatena.com/image/square/4710ef1999f91e2ddc07dede8e537f72e3d9c15c/height=288;version=1;width=512/https%3A%2F%2Fhugo-de-blog.com%2Fimages%2Ffavicon.png)