Browse Source

added configurations for lectures

pull/141/head
abhidj0090 4 years ago
parent
commit
52305a47f8
3 changed files with 9 additions and 5 deletions
  1. 2
    0
      exampleSite/i18n/en.yaml
  2. 2
    0
      layouts/index.html
  3. 5
    5
      layouts/partials/lectures.html

+ 2
- 0
exampleSite/i18n/en.yaml View File

- id: blogTitle - id: blogTitle
translation: Latest Post translation: Latest Post
id: lectureTitle
translation: Recent Lectures
- id: readMore - id: readMore
translation: Read more translation: Read more
- id: viewAllPost - id: viewAllPost

+ 2
- 0
layouts/index.html View File



{{ partial "navigation.html" . }} {{ partial "navigation.html" . }}


{{ partial "lectures.html" . }}

{{ partial "blog.html" . }} {{ partial "blog.html" . }}


{{ partial "testimonial.html" . }} {{ partial "testimonial.html" . }}

+ 5
- 5
layouts/partials/lectures.html View File

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


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

Loading…
Cancel
Save