Skip to content

Commit

Permalink
Remove reference to nil
Browse files Browse the repository at this point in the history
  • Loading branch information
davepinch committed Oct 29, 2024
1 parent 751890e commit 2103ae3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions layouts/partials/cc-get.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{{ $page := nil }}
{{ with index .Site.Data.titles (string .) }}
{{ with index . "::path" }}
{{ $page = .Site.GetPage . }}
{{ $page := .Site.GetPage . }}
{{ end }}
{{ end }}
{{ return $page }}

0 comments on commit 2103ae3

Please sign in to comment.