Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display image in projects list #8

Open
vanillaiice opened this issue Apr 8, 2024 · 0 comments
Open

Display image in projects list #8

vanillaiice opened this issue Apr 8, 2024 · 0 comments

Comments

@vanillaiice
Copy link

Hi Hugo,

Firstly, thank you for making this great hugo theme.

In the 'Projects' tab of my site, I am trying to display a thumbnail for each project (just like in yours).
However, I can't seem to find the proper key name in yaml front matter of the page.

Here is my _index.md:

+++
hideDate = true
hideAuthor = true
hideLastMod = true
+++

# Projects

And here is one of my projects (content/project/dtb.md):

+++
title = 'DTB (Dodge The Balls)'
date = 2024-04-08T05:35:12+03:00
draft = false
headline = 'Simple game where you dodge moving balls, made with Lua and Löve2D.'
image = '/images/face.jpg'
+++

## DTB

Finally, here is what my projects tab currently looks like:

image

Any help would be greatly appreciated !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant