Ukiyo-Server / Ukiyo-server.github.io

A website for Ukiyo server.
https://ukiyo-server.github.io/
GNU General Public License v3.0
1 stars 1 forks source link

Blog link not working. #7

Closed itsidleboy closed 11 months ago

itsidleboy commented 11 months ago

https://github.com/Ukiyo-Server/Ukiyo-server.github.io/commit/fb75fd728d1518f9f5964009d455470fc4701503

fix-

    <div class="grid sm:grid-cols-2 lg:grid-cols-3 gap-6">
        {% for post in paginator.posts %}
        <!-- Card -->
        <a class="group flex flex-col h-full border border-gray-200 hover:border-transparent hover:shadow-lg transition-all duration-300 rounded-xl p-5 dark:border-gray-700 dark:hover:border-transparent dark:hover:shadow-black/[.4] dark:focus:outline-none dark:focus:ring-1 dark:focus:ring-gray-600"
            href="{{ post.url }}">
            <div class="aspect-w-16 aspect-h-11">
                <img class="w-full object-cover rounded-xl" src="{{ post.image }}" alt="Image Description">
            </div>
            <div class="my-6">
                <h3 class="text-xl font-semibold text-gray-800 dark:text-gray-300 dark:group-hover:text-white">
                    {{ post.title }}
                </h3>
                <p class="mt-5 text-gray-600 dark:text-gray-400">
                    {{ post.excerpt }}
                </p>
            </div>
            <div class="mt-auto flex items-center gap-x-3">
                <img class="w-8 h-8 rounded-full" src="{{ post.author_image }}" alt="Image Description">
                <div>
                    <h5 class="text-sm text-gray-800 dark:text-gray-200">{{ post.author }}</h5>
                </div>
            </div>
        </a>
        <!-- End Card -->
        {% endfor %}