File tree Expand file tree Collapse file tree 4 files changed +3
-4
lines changed Expand file tree Collapse file tree 4 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 11baseURL : http://localhost:9876/academy/
22title : Layer5 Academy Theme
3- canonifyurls : true
43ignoreLogs : ['warning-goldmark-raw-html']
54
65# cSpell:ignore goldmark github hugo readingtime docsy subdir lastmod pygments linenos catmullrom norsk gu
Original file line number Diff line number Diff line change 1111"description": {{ $page.Description | jsonify }},
1212"weight": {{ $page.Params.Order | jsonify }},
1313"banner": {{ $banner_url | jsonify }},
14- "permalink": {{ $page.Permalink | jsonify }},
14+ "permalink": {{ $page.RelPermalink | jsonify }},
1515"type": {{ $type | jsonify }},
1616"prerequisites": {{ partial "test/collect-prerequisites.html" $page | jsonify }},
1717"reading_time": {{ $page.ReadingTime | jsonify }},
Original file line number Diff line number Diff line change 2929 "banner": {{ $banner_url | jsonify }},
3030 "badge": {{ partial "badge.html" (dict "page" . "badge" .Params.badge "curriculaId" $id ) | jsonify }},
3131 "certificate": {{ .Params.certificate | jsonify }},
32- "permalink": {{ .Permalink | jsonify }},
32+ "permalink": {{ .RelPermalink | jsonify }},
3333 "categories": {{ .Params.Categories | jsonify }},
3434 "tags": {{ .Params.Tags | jsonify }},
3535 "total_courses": {{ len (where .Pages "Type" "course") }},
Original file line number Diff line number Diff line change 88
99<!-- Validate: TotalQuestions should be multiple of totalQuestionsPerSet -->
1010{{- if ne (mod (len $p.questions) $totalQuestionsPerSet) 0 -}}
11- {{- errorf "Total questions (%d) is not a multiple of total_questions_per_set (%d)" (len $p.questions) $totalQuestionsPerSet -}}
11+ {{- errorf "Total questions (%d) is not a multiple of total_questions_per_set (%d) [ %s ] " (len $p.questions) $totalQuestionsPerSet .File.Path -}}
1212{{- end -}}
1313
1414<!-- Validate all question ids are unique -->
You can’t perform that action at this time.
0 commit comments