{{ define "main" }} {{ $changelog_url := "https://gitlab.eclipse.org/eclipsefdn/software-dev/frameworks-and-tools/hugo-solstice-theme/-/raw/main/CHANGELOG.md?ref_type=heads" }} {{ with try (resources.GetRemote $changelog_url) }} {{ with .Err }} {{ errorf "%s" . }} {{ else with .Value }} {{ $changelog := .Content }} {{ $changelog | markdownify }} {{ else }} {{ errorf "Unable to get remote resource %q" $changelog_url }} {{ end }} {{ end }} {{ end }}