Skip to content

Commit 175d080

Browse files
authored
Merge pull request #39 from layer5io/update-json-vierw
sha encode default id
2 parents f0f228b + 0053ac0 commit 175d080

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/learning-paths/list.json.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"slug": {{ or $p.Slug $p.File.ContentBaseName | jsonify }},
1919
"permalink": {{ $p.Permalink | jsonify }},
2020
"level": {{ $p.Params.level | jsonify }},
21-
"id": {{ or $p.Params.Id $p.Permalink | jsonify }},
21+
"id": {{ or $p.Params.Id (md5 $p.Permalink) | jsonify }},
2222
"orgId": {{ $uuid | jsonify }},
2323
"courses": [
2424
{{- range $j, $c := $children }}

0 commit comments

Comments
 (0)