Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions ja/layouts/shortcodes/get-metrics-from-git.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

{{ $data := index $.Page.Site.Data.integrations $integration }}

{{ if $data }}

{{ if (index $params 1 ) }} {{/* Custom metrics set in shortcode param index 1 (second position) */}}

Expand Down Expand Up @@ -71,5 +72,6 @@

{{ end }}

{{ end }}

{{ end }}
4 changes: 3 additions & 1 deletion layouts/shortcodes/get-metrics-from-git.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
{{ end }}
{{ $data := ($.Scratch.Get "data") }}

{{ if $data }}

{{ if (index $params 1 ) }} {{/* Custom metrics set in shortcode param index 1 (second position) */}}

Expand Down Expand Up @@ -82,5 +83,6 @@

{{ end }}

{{ end }}

{{ end }}
{{ end }}
3 changes: 1 addition & 2 deletions local/bin/py/placehold_translations.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ def create_placeholder_file(template, new_glob):
content=new_content.strip())

with open(new_dest, 'w') as o_file:
o_file.write(content)
print("creating placeholder for {0} at {1}".format(template, new_dest))
o_file.write(content)

return new_dest

Expand Down
Loading