theNewDynamic / gohugo-theme-ananke

Ananke: A theme for Hugo Sites

Home Page:https://gohugo-ananke-theme-demo.netlify.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HELP Post image titles missing

iandstanley opened this issue · comments

First of all thanks for a great theme.

I am a little stuck/confused with images within a post ignoring titles.

On a friends blog that I have setup with this theme they have a number of news posts. I have setup the hugo blog to use the Decap CMS (was Netlify CMS) which allows them a graphical front end to edit the posts (and not bother me)

They plan to insert a series of images into some of their news items to show off their events from different perspectives.

The post below comes from one of their posts on the blog.

Note how the Decap CMS inserts images into the markdown

![](/images/img-2934.jpg "TiM Friends quiz and coffee morning")

It adds the text into the () following the image url

This is reasonably standard (see https://www.w3schools.io/file/markdown-images/)

However, either Hugo or the theme just ignores any title placed in the ( ) brackets

Sample post:

---
title: Silver Sunday Annual Lunch for Senior citizens
Featured_Image: /images/img-2544.jpg
date: 2022-10-02T13:57:00.000Z
description: TiM Friends (Together in Mission) supporting local residents
---
![](/images/img-0382.jpg "TiM Friends craft morning with Corn Exchange  Co.")

![](/images/img-2934.jpg "TiM Friends quiz and coffee morning")

![](/images/img-0793.jpg "Burghfield May  Fayre")

This would output only the three images in the body (plus the featured image from the header).

None of the titles are shown on the page.

Is this a bug in the template or a bug in Hugo? Is it just me misunderstanding or do I have to turn on some setting that I've missed in the documentation?