forked from hero/www_hero_project
edit blog
This commit is contained in:
@@ -13,7 +13,7 @@ use{% block content %}
|
||||
{% endif %}
|
||||
</h2>
|
||||
<div>
|
||||
<div class="mt-3 grid gap-5 max-w-lg mx-auto md:grid-cols-2 lg:grid-cols-3 lg:max-w-none">
|
||||
<div class="mt-3 grid gap-6 max-w-lg mx-auto grid-cols-1 lg:grid-cols-3 lg:max-w-none">
|
||||
{%- for post in paginator.pages %}
|
||||
{% if not post.extra.hidden %}
|
||||
{% include "partials/postCard.html" %}
|
||||
|
@@ -12,7 +12,7 @@
|
||||
{% if post.extra.imgPath %}
|
||||
{% set img_url = get_url(path='/' ~ post.relative_path | replace(from='_', to='-') | replace(from='index.md', to=post.extra.imgPath)) %}
|
||||
<div class="flex-shrink-0">
|
||||
<img class="h-24 w-full object-cover" src="{{ img_url }}" alt="{{ post.title ~ ' Picture' }}" />
|
||||
<img class="h-30 w-full object-cover" src="{{ img_url }}" alt="{{ post.title ~ ' Picture' }}" />
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
Reference in New Issue
Block a user