mirror of https://github.com/lxndrblz/anatole.git

Alexander Bilz
18.06.2020 1306bb71e6e0333c1fd1995c65bb715367694004
Revert "Alternative suggestion"

This reverts commit 228ffd255c53be27fefae83b153d447a1690af7c.
2 files modified
20 ■■■■ changed files
assets/css/style.css 10 ●●●●● patch | view | raw | blame | history
layouts/index.html 10 ●●●● patch | view | raw | blame | history
assets/css/style.css
@@ -488,16 +488,6 @@
    max-height: 100%;
}
.post-thumbnail {
    width: 100%;
    padding-bottom: 1em;
    height: auto;
}
.post-thumbnail img {
    width: 100%;
}
.pagination {
    margin: 30px;
    padding: 0px 0 56px 0;
layouts/index.html
@@ -3,11 +3,6 @@
    {{ range $paginator.Pages }}
        <div class="post animated fadeInDown preview">
            <div class="post-text">
                {{ if isset .Params "thumbnail" }}
                <div class="post-thumbnail">
                    <img src="{{ .Params.thumbnail | absURL }}" loading="lazy">
                </div>
                {{ end }}
                <div class="post-title">
                    <h3><a href="{{ .RelPermalink }}">{{ .Title }}</a>
                    </h3>
@@ -31,6 +26,11 @@
                    </div>
                </div>
            </div>
            {{ if isset .Params "thumbnail" }}
            <div class="thumbnail">
                <img src="{{ .Params.thumbnail | absURL }}" loading="lazy">
            </div>
            {{ end }}
        </div>
    {{ end }}
    <div class="pagination">