We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df9c75b commit c456243Copy full SHA for c456243
common-theme/layouts/partials/block/issue.html
@@ -24,6 +24,8 @@
24
25
{{/* extract objectives */}}
26
{{ $extractedObjectives := partial "strings/extract-github-objectives.html" $response.body }}
27
+ {{/* remove "Learning Objectives" heading from remaining text */}}
28
+ {{ $strippedBody := replace $response.body "### Learning Objectives" "" }}
29
30
{{ if gt (len $extractedObjectives) 0 }}
31
<details open class="c-block__objectives">
@@ -38,7 +40,7 @@ <h3 class="e-heading__4">Learning Objectives</h3>
38
40
</header>
39
41
42
<div class="c-block__content c-copy">
- {{ $response.body | page.RenderString }}
43
+ {{ $strippedBody | page.RenderString }}
44
</div>
45
</section>
46
{{ end }}
0 commit comments