lgaida / mediumish-gohugo-theme

A mediumish gohugo theme, ported from jekyll
MIT License
131 stars 99 forks source link

There are sample blog images and posts with image links... but no images. #41

Closed DrBrynzo closed 2 years ago

DrBrynzo commented 2 years ago

Based on the sample blog post entries, I thought I would be able to link images to blog posts. Even though the files are present and the images are configured in the posts, no image links are in the output even. Should they work?

(Referring to 1.jpg through 8.jpg in the sample posts.)

DrBrynzo commented 2 years ago

To avoid any ambiguity, I was referring to the "image:" entries in the blog content *.md files, for example, the reference to "9.jpg" below. I was thinking this was meant to provide either a header image for the entry or key image in the feed.

title: "Ninth"
date: 2018-10-07T11:40:14+02:00
publishdate: 2018-10-07T11:40:14+02:00
image: "/images/blog/9.jpg"
tags: ["interesting", "drink"]
comments: false
lgaida commented 2 years ago

Hi there, this repo is pretty dusty as you can tell from the commit history. I think the code under exampleSite is missing some changes. Take a look at the demo and the demo sources. I can't remember but to me it looks like the "image" property was removed and you can simply add an image by placing a "cover.png" next your *.md (see demo source)

DrBrynzo commented 2 years ago

Thanks for responding. I'll keep poking around.