Skip to content

Commit 30bd660

Browse files
committed
Add: (layouts/_default/baseof.html) Math equation support
See <https://gohugo.io/content-management/mathematics/#step-3>.
1 parent 7c4255f commit 30bd660

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

layouts/_default/baseof.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020

2121
<!-- Add twitter card for logo and images. You can preview cards in the X compose window. -->
2222
{{ template "_internal/twitter_cards.html" . }}
23+
24+
{{/* Math equation support. See <https://gohugo.io/content-management/mathematics/#step-3>. */}}
25+
{{ if .Param "math" }}
26+
{{ partialCached "math.html" . }}
27+
{{ end }}
2328
</head>
2429
<body>
2530
{{ block "navbar" . }}

0 commit comments

Comments
 (0)