Add smallpiece 2017 gallery
This commit is contained in:
parent
7a3121627b
commit
d214689cd8
3 changed files with 9 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: Smallpiece 2017
|
||||
image: https://farm5.staticflickr.com/4426/35552704294_5aa52e2ed6_k_d.jpg
|
||||
linkTitle: 2017
|
||||
---
|
||||
|
||||
|
|
7
content/robotics/smallpiece/2017/gallery.md
Normal file
7
content/robotics/smallpiece/2017/gallery.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
title: Gallery
|
||||
image: https://c1.staticflickr.com/5/4433/36343562896_0226cc3535_k.jpg
|
||||
---
|
||||
|
||||
{{% flickr 72157683796439222 %}}
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
{{ $id := .Get 0 }}
|
||||
{{ $query := querify "format" "json" "nojsoncallback" "1" "api_key" .Site.Data.flickr.api_key }}
|
||||
|
||||
{{ $method := querify "method" "flickr.photosets.getPhotos" "user_id" .Site.Data.flickr.user_id "photoset_id" $id "extras" "url_o" }}
|
||||
{{ $method := querify "method" "flickr.photosets.getPhotos" "user_id" .Site.Data.flickr.user_id "photoset_id" $id "extras" "url_l" }}
|
||||
{{ $photoset_orig:= (getJSON "https://api.flickr.com/services/rest/?" $query "&" $method).photoset }}
|
||||
|
||||
{{ $method := querify "method" "flickr.photosets.getPhotos" "user_id" .Site.Data.flickr.user_id "photoset_id" $id "extras" "url_sq" }}
|
||||
|
|
Loading…
Reference in a new issue