HUGO

Upgrading from Ubuntu 14.04 (Trusty) to Ubuntu 20.04 (Focal)

Hi,
I tried to upgrade from Ubuntu 14.04 (Trusty) to Ubuntu 20.04 (Focal) for my Hugo-academic/netlify webpage as end is near for Trusty.

The new one 20.04 is:
htthttps://determined-archimedes-0e2275.netlify.app/

And the old 14.04 one:
hhttps://erling-lundevaller.netlify.app/
Both are deploying from the same github: GitHub - erlinglundevaller/blogg: blogg

The old version fails in deploying as expected. The new site deploys but renders a site with no content.
Any suggestions what is going wrong?

Following instructions on the internet I made the following changes in the files:

In single.html:
27 from:
{{ if (.Params.publication_types) and (ne (index .Params.publication_types 0) “0”) }}
27 to:
{{ if and (.Params.publication_types) (ne (index .Params.publication_types 0) “0”) }}

In header.html:
from:
{{ if or .Site.RSSLink .RSSLink }}
110

111 112 {{ end }} To: 110 {{ with .OutputFormats.Get "rss" -}} 111 {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} 112 {{ end -}}

An also in header.html:
From
9
{{ .Hugo.Generator }}
To:
9
{{ hugo.Generator }}

You should ask directly on the forums of Netlify. See https://answers.netlify.com/

Thanks, I’ll do that.