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

Make images clickable #61

Open
bixel opened this issue Jan 11, 2017 · 1 comment
Open

Make images clickable #61

bixel opened this issue Jan 11, 2017 · 1 comment

Comments

@bixel
Copy link
Member

bixel commented Jan 11, 2017

I think it would be handy, if the images of "special" posts are clickable.

@The-Ludwig
Copy link
Contributor

sorry I'm having fun with playing around with the website now. What should happen if the user clicks on the image? We could redirect them to the generated site of the post. This is relatively easy to do:
just add

<a href={{ post.url }}>
    <img class="card-img-top" src="{{ post.image }}" alt="">
  </a>

to _includes/post.html. Although the images do currently not look very good, on the generated sites...

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

No branches or pull requests

2 participants