Skip to content

Commit cf432b5

Browse files
committed
Fix missing base URL in taxonomy links of instruction list.
1 parent e0c049a commit cf432b5

File tree

7 files changed

+6
-9
lines changed

7 files changed

+6
-9
lines changed

config/_default/hugo.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ taxonomies:
4848
sensor: sensors
4949
material: materials
5050

51-
disableKinds:
52-
- home
53-
5451
ignorefiles: "generated/.*"
5552

5653
enableEmoji: true

content/de/instructions/inelastischer-stoss/inelastischer-stoss.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
translationKey: "Inelastic Collision Instruction"
33
title: "(In)elastischer Stoß"
44
date: 2024-12-17T11:42:40+01:00

content/en/instructions/inelastic-collision/inelastic-collision.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
title: "(In)elastic Collision"
33
date: 2024-12-17T11:42:40+01:00
44
translationKey: "Inelastic Collision Instruction"

layouts/partials/categories.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ <h3>{{- i18n "categories" -}}</h3>
1313
{{ $categories = $categories | append .Params.categories }}
1414
{{ end }}
1515
{{ range $category := $categories | uniq | sort }}
16-
<li><a href="{{ "/categories/" | relLangURL }}{{ $category | urlize }}">{{ i18n $category }}</a></li>
16+
<li><a href="{{ "categories/" | relLangURL }}{{ $category | urlize }}">{{ i18n $category }}</a></li>
1717
{{ end }}
1818
</ul>
1919
</div>

layouts/partials/levels.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ <h3>{{- i18n "levels" -}}</h3>
66
{{ $levels = $levels | append .Params.levels }}
77
{{ end }}
88
{{ range $level := $levels | uniq | sort }}
9-
<li><a href="{{ "/levels/" | relLangURL }}{{ $level | urlize }}">{{ $level }}</a></li>
9+
<li><a href="{{ "levels/" | relLangURL }}{{ $level | urlize }}">{{ $level }}</a></li>
1010
{{ end }}
1111
</ul>
1212
</div>

layouts/partials/materials.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ <h3>{{- i18n "requiredMaterials" -}}</h3>
66
{{ $materials = $materials | append .Params.materials }}
77
{{ end }}
88
{{ range $material := $materials | uniq | sort }}
9-
<li><a href="{{ "/materials/" | relLangURL }}{{ $material | urlize }}">{{ i18n $material }}</a></li>
9+
<li><a href="{{ "materials/" | relLangURL }}{{ $material | urlize }}">{{ i18n $material }}</a></li>
1010
{{ end }}
1111
</ul>
1212
</div>

layouts/partials/sensors.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ <h3>{{- i18n "sensors" -}}</h3>
66
{{ $sensors = $sensors | append .Params.sensors }}
77
{{ end }}
88
{{ range $sensor := $sensors | uniq | sort }}
9-
<li><a href="{{ "/sensors/" | relLangURL }}{{ $sensor | urlize }}">{{ $sensor }}</a></li>
9+
<li><a href="{{ "sensors/" | relLangURL }}{{ $sensor | urlize }}">{{ $sensor }}</a></li>
1010
{{ end }}
1111
</ul>
1212
</div>

0 commit comments

Comments
 (0)