_layouts/blog.html in appscms-tools-theme-0.4.4 vs _layouts/blog.html in appscms-tools-theme-0.4.5
- old
+ new
@@ -1,76 +1,72 @@
-<html>
-
-{% include custom-head.html %}
-
-<body>
- {%- include header/blogHeader.html -%}
-
- <section class="section_post">
- <div class="container">
- <div class="row justify-content-center section-title-wrap">
- <div class="col-lg-12">
- <h1 style="font-weight: 900;" class="display-4 m-0 small_description">{{ site.data.blog.blog.h1 }}
- </h1>
- <p class="lead mb-5 mt-1" style="font-size: 18px;">
- {{ site.data.blog.blog.description }}
- </p>
- </div>
- </div>
-
- <!-- categories post -->
- <div class="main-content">
- {{content}}
- </div>
- <!-- close -->
-
- <div class="row">
- {% for post in paginator.posts %}
- <div class="col-lg-4 col-md-6 mb-4 card-group">
- <div class="card h-100">
- <a href="{{ post.url }}">
- <img src="{{ post.image }}" class="card-img-top" alt="">
- </a>
- <div class="card-body">
- <a href="{{ post.url }}" class="anchor_link">
- <h4 class="card-title mb-4">{{ post.title }}</h4>
- </a>
- </div>
-
- {% assign author = site.data.blog.authors[post.author] %}
- <div class="card-footer bg-white">
- <div class="wrapfooter">
- {% if post.author %}
- <span class="meta-footer-thumb">
- <img class="author-thumb" src="{{ author.image }}" alt="{{ author.name }}">
- </span>
- {% endif %}
-
- <span class="author-meta">
- <span class="post-name">
- <a target="_blank" href="/blog">{{post.author}}</a>
- </span><br>
- <span class="post-date">{{post.date | date_to_string }}</span>
- </span>
- <span class="post-read-more"><a href="{{ post.url }}" title="Read Story"><svg
- class="svgIcon-use" width="25" height="25" viewBox="0 0 25 25">
- <path
- d="M19 6c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v14.66h.012c.01.103.045.204.12.285a.5.5 0 0 0 .706.03L12.5 16.85l5.662 4.126a.508.508 0 0 0 .708-.03.5.5 0 0 0 .118-.285H19V6zm-6.838 9.97L7 19.636V6c0-.55.45-1 1-1h9c.55 0 1 .45 1 1v13.637l-5.162-3.668a.49.49 0 0 0-.676 0z"
- fill-rule="evenodd"></path>
- </svg></a></span>
- </div>
- </div>
- </div>
- </div>
- {% endfor %}
- </div>
- {%- include paginationBlogPage.html -%}
- </div>
-
- {% include section/count.html %}
- </section>
- {%- include section/alertbar.html -%}
-
- {% include script.html %}
-</body>
-
+<html>
+
+{% include custom-head.html %}
+
+<body>
+ {%- include header/blogHeader.html -%}
+
+ <section class="section_post">
+ <div class="container">
+ <div class="row justify-content-center section-title-wrap">
+ <div class="col-lg-12">
+ <h1 style="font-weight: 900;" class="display-4 m-0 small_description">{{ site.data.blog.blog.h1 }}
+ </h1>
+ <p class="lead mb-5 mt-1" style="font-size: 18px;">
+ {{ site.data.blog.blog.description }}
+ </p>
+ </div>
+ </div>
+
+ <!-- categories post -->
+ <div class="main-content">
+ {{content}}
+ </div>
+ <!-- close -->
+
+ <div class="row">
+ {% for post in paginator.posts %}
+ <div class="col-lg-4 col-md-6 mb-4 card-group">
+ <div class="card h-100">
+ <a href="{{ post.url }}">
+ <img src="{{ post.image }}" class="card-img-top" alt="">
+ </a>
+ <div class="card-body">
+ <a href="{{ post.url }}" class="anchor_link">
+ <h4 class="card-title mb-4">{{ post.title }}</h4>
+ </a>
+ </div>
+
+ {% assign author = site.data.blog.authors[post.author] %}
+ <div class="card-footer bg-white">
+ <div class="wrapfooter">
+ {% if post.author %}
+ <span class="meta-footer-thumb">
+ <img class="author-thumb" src="{{ author.image }}" alt="{{ author.name }}">
+ </span>
+ {% endif %}
+
+ <span class="author-meta">
+ <span class="post-name">
+ <a target="_blank" href="/blog">{{post.author}}</a>
+ </span><br>
+ <span class="post-date">{{post.date | date_to_string }}</span>
+ </span>
+ <span class="post-read-more "><a class="text-dark" href="{{ post.url }}" title="Read Story">Read More</a></span>
+ </div>
+ </div>
+ </div>
+ </div>
+ {% endfor %}
+ </div>
+ {%- include paginationBlogPage.html -%}
+ </div>
+
+ {% include section/count.html %}
+ </section>
+ {%- include section/alertbar.html -%}
+
+ {% include script.html %}
+ <script src="{{ '/assets/js/TopScroll.js' | relative_url }}"></script>
+</body>
+
</html>
\ No newline at end of file