Skip to content

Commit 0053ac0

Browse files
committed
sha encode default id
Signed-off-by: Aabid Sofi <[email protected]>
1 parent 323f1f8 commit 0053ac0

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)