Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Site not rendering images

Đang mở
#783 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
jekyll
Lĩnh vực
web-dev

Hướng nghiên cứu

Bắt đầu với blog được liên kết và _config.yml của blog đó, sau đó tái tạo bản build GitHub Pages bằng các hình ảnh trong /assets/visualizations/. So sánh các tham chiếu hình ảnh của bài đăng được tạo với trang đã triển khai; hoàn tất khi các hình ảnh và GIF được báo cáo hiển thị trên trang web đã xuất bản.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

This issue affects
  • 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:

title: ddejohn/
email: [email protected]
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.

Ngôn ngữ chính
Ruby
Star
1.9k
Fork
361
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của github/pages-gem

Tất cả issue của github/pages-gem

Issue tương tự

Thêm issue về Ruby

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.