hugo-internet-weblog/layouts/partials/custom_image_handler.html
Dan Xin 558b8b4ae0
fix: migrate ".Site.Author" to ".Site.Params.Author" (#17)
* feat: migrate ".Site.Author" to ".Site.Params.Author"
* feat: update README
2024-11-08 14:16:58 -05:00

11 lines
404 B
HTML

<script type="text/javascript">
// @summary: jquery implementation
$(function() {
// @summary: Use the author's flickr ID to load images from the public flickr feed
$.getJSON("https://api.flickr.com/services/feeds/photos_public.gne?id={{ .Site.Params.Author.flickrid }}&format=json&jsoncallback=?", function(data) {
iweblog.application.displayImages(data, 8);
});
});
</script>