Skip to content

Commit 1cb654d

Browse files
author
Grzegorz Kocjan
committed
Add #57 photos
1 parent fc1b208 commit 1cb654d

File tree

9 files changed

+9
-0
lines changed

9 files changed

+9
-0
lines changed

Diff for: assets/images/meetups/57/0.jpg

1.68 MB
Loading

Diff for: assets/images/meetups/57/1.jpg

1.6 MB
Loading

Diff for: assets/images/meetups/57/2.jpg

1.09 MB
Loading

Diff for: assets/images/meetups/57/3.jpg

1.49 MB
Loading

Diff for: assets/images/meetups/57/4.jpg

1.08 MB
Loading

Diff for: assets/images/meetups/57/5.jpg

877 KB
Loading

Diff for: assets/images/meetups/57/6.jpg

1.85 MB
Loading

Diff for: assets/images/meetups/57/7.jpg

7 MB
Loading

Diff for: content/spotkania/_content.gotmpl

+9
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,15 @@ Zarezerwuj swoje miejsce już teraz – nie daj się zaskoczyć, gdy ruszymy z p
5656
{{ $contentValue = printf "%s \n %s </br>" $contentValue (printf "{{< article link=\"/sponsorzy/%s/\" >}}" .) }}
5757
{{ end }}
5858

59+
{{ $photos := resources.Match (printf "images/meetups/%s/*" $meetup_number) }}
60+
{{ if gt (len $photos) 0 }}
61+
{{ $contentValue = printf "%s \n ## Zdjęcia\n{{< gallery >}}" $contentValue}}
62+
{{ range $photos }}
63+
{{ $contentValue = printf "%s \n <img src=\"%s\" class=\"grid-w33\" />" $contentValue .RelPermalink }}
64+
{{ end }}
65+
{{ $contentValue = printf "%s \n {{< /gallery >}}" $contentValue}}
66+
{{ end }}
67+
5968
{{/* Add page. */}}
6069
{{ $content := dict "mediaType" "text/markdown" "value" $contentValue }}
6170
{{ $params := dict "talks" $meetup.talks }}

0 commit comments

Comments
 (0)