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

@@ -1,5 +1,7 @@
- id: blogTitle
translation: Latest Post
id: lectureTitle
translation: Recent Lectures
- id: readMore
translation: Read more
- id: viewAllPost

+ 2
- 0
layouts/index.html View File

@@ -4,6 +4,8 @@

{{ partial "navigation.html" . }}

{{ partial "lectures.html" . }}

{{ partial "blog.html" . }}

{{ partial "testimonial.html" . }}

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

@@ -1,13 +1,13 @@
{{ 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="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>
<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>
</div>
@@ -18,7 +18,7 @@
{{ end }}

<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>

Loading…
Cancel
Save