From c73c858e0687fe883d727c2e700b27c84bc17b35 Mon Sep 17 00:00:00 2001 From: brucegao77 Date: Tue, 31 Mar 2020 13:03:16 +0800 Subject: [PATCH] Update README.md --- README.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c34fc81..d43c044 100644 --- a/README.md +++ b/README.md @@ -431,7 +431,7 @@ title: "{{ replace .Name "-" " " | title }}" date: {{ .Date }} description: type: gallery -mode: one-by-one # at-once or one-by-one +mode: one-by-one # at-once, one-by-one, remote tags: - series: @@ -483,6 +483,17 @@ root │   │   │ ├── ...your images here ``` +Or you can just set the mode to remote, and use your own image url. + +```bash +images: # when mode is remote, you can use your own image url + - image: "https://cdn.pixabay.com/photo/2020/03/16/10/27/spring-4936511_960_720.jpg" + caption: caption1 + - image: "https://cdn.pixabay.com/photo/2018/01/03/19/17/cat-3059075_960_720.jpg" + caption: caption2 + ... +``` + ## Contact Page Currently available service: [formspree]. Open an issue if you need another service vendor. If you want just a blank page and use a markdown, set the service param empty. @@ -1145,4 +1156,4 @@ So, If you just copy-paste the tabs with multiple times, since it has the same c Great! {{< /tab >}} {{< /tabs >}} -````` \ No newline at end of file +`````