add pick up image randomly in archetype
This commit is contained in:
@@ -2,10 +2,9 @@
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
draft: true
|
||||
|
||||
noSummary: false
|
||||
featuredImage: "https://h.cowbay.org/images/post-default-11.jpg"
|
||||
categories: []
|
||||
image: {{ shuffle (slice "https://h.cowbay.org/images/post-default-1.jpg" "https://h.cowbay.org/images/post-default-2.jpg" "https://h.cowbay.org/images/post-default-3.jpg" "https://h.cowbay.org/images/post-default-4.jpg" "https://h.cowbay.org/images/post-default-5.jpg" "https://h.cowbay.org/images/post-default-6.jpg" "https://h.cowbay.org/images/post-default-7.jpg" "https://h.cowbay.org/images/post-default-8.jpg" "https://h.cowbay.org/images/post-default-9.jpg" "https://h.cowbay.org/images/post-default-10.jpg" "https://h.cowbay.org/images/post-default-11.jpg" "https://h.cowbay.org/images/post-default-12.jpg" "https://h.cowbay.org/images/post-default-13.jpg" "https://h.cowbay.org/images/post-default-14.jpg" "https://h.cowbay.org/images/post-default-15.jpg" "https://h.cowbay.org/images/post-default-16.jpg" "https://h.cowbay.org/images/post-default-17.jpg" "https://h.cowbay.org/images/post-default-18.jpg")|first 1 }}
|
||||
tags: []
|
||||
author: "Eric Chang"
|
||||
keywords:
|
||||
@@ -13,6 +12,8 @@ keywords:
|
||||
- key2
|
||||
---
|
||||
|
||||
remove the [] above in image
|
||||
|
||||
SOME Text here
|
||||
|
||||
Breaks here
|
||||
|
||||
Reference in New Issue
Block a user