diff --git a/content/intern/thanks.md b/content/intern/thanks.md index 7bfbab0..bff7765 100644 --- a/content/intern/thanks.md +++ b/content/intern/thanks.md @@ -13,6 +13,8 @@ image: - /intern/thanks/awesome-dog.jpg - /intern/thanks/could-you-get-any-cooler.jpg - /intern/thanks/t_hanks.jpg + - /intern/thanks/thank-you.jpg + - /intern/thanks/thanks-for-your-help.jpg --- {{< random_image >}} diff --git a/layouts/shortcodes/random_image.html b/layouts/shortcodes/random_image.html index 01c8281..40b47de 100644 --- a/layouts/shortcodes/random_image.html +++ b/layouts/shortcodes/random_image.html @@ -3,14 +3,14 @@ {{- errorf "missing value for 'image.choices': %s" .Position }} {{- end }} {{- $alt := default "random image" ($.Page.Param "image.alt") }} -{{- $id := sha256 now.UnixNano }} +{{- $id := sha256 (index (seq 999 | shuffle) 0) }}