您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

blog.html 1.1KB

12345678910111213141516171819202122232425262728
  1. {{ if gt site.RegularPages 0}}
  2. {{"<!-- Start Blog Section -->" | safeHTML}}
  3. <section id="blog" class="section">
  4. <img class="lozad" style="display: none;" onerror="this.onerror=null;this.parentElement.style.backgroundImage= 'url(images/writing.jpg)'" data-src="images/writing.webp" />
  5. <div class="container">
  6. <div class="row justify-content-center">
  7. <div class="col-lg-12">
  8. {{"<!-- section title -->" | safeHTML}}
  9. <div class="title text-center wow fadeInDown">
  10. <h2> {{ with i18n "blogTitle" }} {{ index (split . " ") 0 | safeHTML }} {{ end }}<span class="color">
  11. {{ with i18n "blogTitle" }} {{ index (split . " ") 1 | safeHTML }} {{ end }} </span></h2>
  12. <div class="border-meghna"></div>
  13. </div>
  14. </div>
  15. {{"<!-- /section title -->" | safeHTML}}
  16. {{ range first 3 (where site.RegularPages "Section" "==" "blog")}}
  17. {{ .Render "article"}}
  18. {{ end }}
  19. <div class="all-post text-center col-lg-12">
  20. <a class="btn btn-main" href="{{ `blog` | absLangURL }}">{{ i18n "viewAllPost" }}</a>
  21. </div>
  22. </div>
  23. </div>
  24. </section>
  25. {{"<!-- /blog -->" | safeHTML}}
  26. {{ end }}