Browse Source

Create lectures.html

pull/141/head
abhidj0090 4 years ago
parent
commit
660b553c00
No account linked to committer's email address
1 changed files with 27 additions and 0 deletions
  1. 27
    0
      layouts/partials/lectures.html

+ 27
- 0
layouts/partials/lectures.html View File

@@ -0,0 +1,27 @@
{{ if gt site.RegularPages 0}}
{{"<!-- Start Blog Section -->" | safeHTML}}
<section id="blog" class="section">
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-12">
{{"<!-- section title -->" | safeHTML}}
<div class="title text-center wow fadeInDown">
<h2> {{ with i18n "blogTitle" }} {{ index (split . " ") 0 | safeHTML }} {{ end }}<span class="color">
{{ with i18n "blogTitle" }} {{ index (split . " ") 1 | safeHTML }} {{ end }} </span></h2>
<div class="border-meghna"></div>
</div>
</div>
{{"<!-- /section title -->" | safeHTML}}

{{ range first 3 (where site.RegularPages "Section" "==" "blog")}}
{{ .Render "article"}}
{{ end }}

<div class="all-post text-center col-lg-12">
<a class="btn btn-main" href="{{ `lectures` | absLangURL }}">{{ i18n "viewAllPost" }}</a>
</div>
</div>
</div>
</section>
{{"<!-- /blog -->" | safeHTML}}
{{ end }}

Loading…
Cancel
Save