Skip to content

Commit

Permalink
fix: backwards compatibility of content adapter
Browse files Browse the repository at this point in the history
Closes #79
  • Loading branch information
razonyang committed Jun 22, 2024
1 parent 925aad6 commit e9e6808
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion layouts/partials/hb/modules/revision/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
(cond (eq $params.repo_subpath "") "" (printf "/%s" $params.repo_subpath))
.Path
}}
{{ $isFile = not .IsContentAdapter }}
{{ if ge hugo.Version "0.126.0" }}
{{ $isFile = not .IsContentAdapter }}
{{ end }}
{{- end }}
{{- $viewURL := "" }}
{{- $editURL := "" }}
Expand Down

0 comments on commit e9e6808

Please sign in to comment.