github / github/pages-gem

Site not rendering images

Open
#783 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
1.9k
Forks
360
PR merge metrics
No merged PRs in 30d

Description

I've searched far and wide and cannot for the life of me figure this out.

### This issue affects

- [x] The site generated by GitHub Pages
- [ ] Building sites locally

### What did you do (e.g., steps to reproduce)

I have images and gifs in `/assets/visualizations/`, and attempt to use relative links to those images in a blog post.

The blog post in question is here: https://ddejohn.github.io/2021/08/20/life.html

The blog's repo is here: https://github.com/ddejohn/ddejohn.github.io

I've tried loads of things based on stackoverflow and github issues discussions. Nothing seems to work. I've tried setting `baseurl: ""` and I've tried relative links in my markdown with and without a leading `.` symbol. I'm at wit's end, it seems like everything I find on SO and here in various Jekyll issues say to do different things and I can't find the "magic" combination.

My current `_config.yml`:

```yaml
title: ddejohn/
email: ddejohn@pm.me
description: A blog wherein I write about programming, mathematics, and my personal projects.
github_username: ddejohn
linkedin_username: ddejohn

theme: minima
show_excerpts: true

plugins:
- jekyll-feed
```

### What did you expect to happen?

Images to display.

### What happened instead?

Images didn't display.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.