Issue with posting a new .md

Hello Hugo-naughts

I’ve bumped up against an issue that I’m struggling to resolve. I usually post a blog once a month over here.

Previous editions have been published, BUT…the latest (edition 12) just won’t appear on my site.

I’ve double-checked the publication date (2021-11-28T12:24:00+01:00) so it should appear. I also have draft set as ‘false’. But it just doesn’t seem to want to publish.

My GitHub repository where the content is stored can be found here. No other changes have been to the repository.

Hope someone may be able to set me straight

The date… on your server… is it already that time there? I tend to remove the draft frontmatter completely, but if you set it to false it should not have any influence (except for a bad programmed layout file).

By the way the newest file in your repo has a timestamp of “yesterday”, so are you sure you changed it properly?

PS: There is a lot of stuff in your content directory, that should live in the static directory. Maybe you updated your hugo version recently and it stopped being forgiving for such things?

content: your markdown files for the content of your site
static: everything that does not change. will be copied over to the site root on build.

According to the meta generator tag on your live site, you are building with Hugo v0.79.0.

So I installed v0.79.0 and tested:

git clone --recurse-submodules https://github.com/TeldridgeLDN/servicexdesignv2
cd servicexdesignv2/
hugo

And here’s what I got:

Error: Error building site: “/home/jmooring/temp/servicexdesignv2/content/Hypernormal/011 copy.md:25:30”: unrecognized character in shortcode action: U+003F ‘?’. Note: Parameters with non-alphanumeric args must be quoted

Are you testing your builds locally?

I added the following to the config.toml to reflect the latest version of Hugo as I was running an old version

[build]
publish = “public”
command = “hugo”

[context.production.environment]
HUGO_VERSION = “0.91.1”
HUGO_ENV = “production”
HUGO_ENABLEGITINFO = “true”

However, while I can access my main page strategyxdesign

The files in the content folder no longer appear for some reason.

Are you testing your builds locally?

I haven’t recently.

What is the command to run on the local server?

hugo

This all should be in netlify.toml, not config.toml.