_layouts/blog.html in appscms-tools-theme-0.1.9 vs _layouts/blog.html in appscms-tools-theme-0.2.0
- old
+ new
@@ -1,48 +1,23 @@
<html>
-<head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
- <meta name="keywords" content="Mathbig - Blogposts">
- <meta name="description" content="{{site.description}}">
- <meta property="og:title" content="{{ page.title | default: site.title }}">
- <meta property="og:type" content="website">
- <meta property="og:locale" content="en_US">
- <meta property="og:site_name" content="{{site.name}}">
- <meta property="og:url" content="{{site.url | append: page.url}}">
- <meta name="author" content="Harshit Raghav">
+{% include custom-head.html %}
- <title>{{page.title}}</title>
-
- <!-- fonts -->
- <link href="https://fonts.googleapis.com/css2?family=Quicksand&display=swap" rel="stylesheet">
- <link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet">
-
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/all.min.css" />
- <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet">
-
- <link rel="stylesheet" href="{{ '/assets/css/tools.css' | relative_url }}">
- <link rel="stylesheet" href="{{ '/assets/css/blog.css' | relative_url }}">
- <link rel="stylesheet" href="{{'/assets/css/tools.css' | relative_url }}">
-</head>
-
<body>
- {%- include header/index.html -%}
+ {%- include header.html -%}
<section class="section_post">
<div class="container">
<div class="row justify-content-center section-title-wrap">
- <div class="col-lg-12 mt-5">
- <h1 style="font-weight: 900;">{{ site.data.blog.title }}</h1>
+ <div class="col-lg-12">
+ <h1 style="font-weight: 900;" class="display-4 mb-5">{{ site.data.blog.h1 }}</h1>
</div>
</div>
- <!-- category posts -->
-
+ <!-- categories post -->
<div class="main-content">
- {{ content }}
+ {{content}}
</div>
<!-- close -->
<div class="row">
{% for post in paginator.posts %}
@@ -57,16 +32,15 @@
</a>
</div>
<div class="card-footer bg-white">
<div class="wrapfooter">
<span class="meta-footer-thumb">
- <img class="author-thumb" src="/assets/images/example.png"
- alt="{{ post.author.name }}">
+ <img class="author-thumb" src="{{ author.image }}" alt="{{ post.author.name }}">
</span>
<span class="author-meta">
<span class="post-name">
- <a target="_blank" href="{{ post.author.url }}">{{post.author}}</a>
+ <a target="_blank" href="{{ post.url }}">{{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">
@@ -78,16 +52,15 @@
</div>
</div>
</div>
{% endfor %}
</div>
+ {%- include pagination.html -%}
</div>
- {%- include pagination2.html -%}
{% include section/count.html %}
</section>
{%- include section/alertbar.html -%}
-
<script src="/js/TopScroll.js"></script>
</body>
</html>
\ No newline at end of file