Skip to content

Commit

Permalink
Thumbnail styling
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Apr 22, 2018
1 parent 1d592dc commit 16dbe78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/templates/theme.tmpl
Expand Up @@ -43,8 +43,8 @@
% else:
<div class="card bg-light border-primary mb-2"><div class="card-body">To install, run <kbd>nikola theme -i ${post.meta('slug')}</kbd></div></div>
% endif
<div class="thumbnail demo-thumbnail">
<a href="${post.meta('demo_link')}"><img src="${post.meta('previewimage')}" alt="Screenshot of ${post.meta('title')}" title="See demo of theme ${post.meta('title')}"><p class="demo-thumbnail-link">See demo</p></a>
<div class="card mb-2 demo-thumbnail">
<a href="${post.meta('demo_link')}"><img style="max-width: 100%;" class="card-img-top" src="${post.meta('previewimage')}" alt="Screenshot of ${post.meta('title')}" title="See demo of theme ${post.meta('title')}"></a><div class="card-body demo-thumbnail-link"><a href="${post.meta('demo_link')}">See demo</a></div>
</div>
${post.text()}
% if post.meta('confpy'):
Expand Down

0 comments on commit 16dbe78

Please sign in to comment.