Skip to content

Commit

Permalink
fix: render-heading (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris authored May 19, 2020
1 parent ae15718 commit 36dd86a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/_default/_markup/render-heading.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{{ if or (ne .Level "1") (ne .Level "2") }}
{{ if and (ne .Level "1") (ne .Level "2") }}
<h{{ .Level }} id="{{ .Anchor | safeURL }}" class="title is-3">{{ .Text | safeHTML }}</h{{ .Level }}>
{{ end }}

0 comments on commit 36dd86a

Please sign in to comment.