enable : true | enable : true | ||||
heading : Latest | |||||
headingSpan : Posts | |||||
sharing : true | sharing : true | ||||
staticmanComments: | staticmanComments: | ||||
enable: false | enable: false |
heading : Latest | |||||
headingSpan : Posts |
heading : Najnowsze | |||||
headingSpan : wpisy |
- id: commentNotify | - id: commentNotify | ||||
translation: Notify me of new comments on this post | translation: Notify me of new comments on this post | ||||
- id: addComment | - id: addComment | ||||
translation: Add comment | |||||
translation: Add comments | |||||
- id: readMore | |||||
translation: Read more | |||||
- id: viewAllPost | |||||
translation: View All Post | |||||
- id: share | |||||
translation: Share |
translation: Powiadom mnie o nowych komentarzach do tego wpisu | translation: Powiadom mnie o nowych komentarzach do tego wpisu | ||||
- id: addComment | - id: addComment | ||||
translation: Dodaj komentarz | translation: Dodaj komentarz | ||||
- id: readMore | |||||
translation: Czytaj więcej | |||||
- id: viewAllPost | |||||
translation: Wyświetl wszystkie wpisy | |||||
- id: share | |||||
translation: Podziel się |
<div class="content"> | <div class="content"> | ||||
<h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3> | <h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3> | ||||
<p>{{ .Summary }}</p> | <p>{{ .Summary }}</p> | ||||
<a class="btn btn-transparent" href="{{ .Permalink }}">Read more</a> | |||||
<a class="btn btn-transparent" href="{{ .Permalink }}">{{ i18n "readMore" }}</a> | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</article> | </article> |
{{ if .Site.Data.blog.enable}} | {{ if .Site.Data.blog.enable}} | ||||
{{"<!-- Start Blog Section -->" | safeHTML}} | {{"<!-- Start Blog Section -->" | safeHTML}} | ||||
{{ $data := index .Site.Data .Site.Language.Lang }} | |||||
<section id="blog" class="section"> | <section id="blog" class="section"> | ||||
<div class="container"> | <div class="container"> | ||||
<div class="row"> | <div class="row"> | ||||
<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 .Site.Data.blog.heading }} {{ . }} {{ end }} <span class="color"> {{ with .Site.Data.blog.headingSpan }} {{ . }} {{ end }} </span></h2> | |||||
<h2> {{ with $data.blog.heading }} {{ . }} {{ end }} <span class="color"> {{ with $data.blog.headingSpan }} {{ . }} {{ end }} </span></h2> | |||||
<div class="border-meghna"></div> | <div class="border-meghna"></div> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
<div class="content"> | <div class="content"> | ||||
<h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3> | <h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3> | ||||
<p>{{ .Summary }}</p> | <p>{{ .Summary }}</p> | ||||
<a class="btn btn-transparent" href="{{ .Permalink }}">Read more</a> | |||||
<a class="btn btn-transparent" href="{{ .Permalink }}">{{ i18n "readMore" }}</a> | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</article> | </article> | ||||
{{ 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="/blog">View All Post</a> | |||||
<a class="btn btn-main" href="/blog">{{ i18n "viewAllPost" }}</a> | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
</section> | </section> | ||||
{{"<!-- /blog -->" | safeHTML}} | {{"<!-- /blog -->" | safeHTML}} | ||||
{{ end }} | |||||
{{ end }} |
{{ $url := printf "%s" .Permalink | absLangURL }} | {{ $url := printf "%s" .Permalink | absLangURL }} | ||||
<!-- Sharingbutton Facebook --> | <!-- Sharingbutton Facebook --> | ||||
<div class="social-share pt-4"> | <div class="social-share pt-4"> | ||||
<h4>Share:</h4> | |||||
<h4>{{ i18n "share" }}:</h4> | |||||
<!-- Sharingbutton Facebook --> | <!-- Sharingbutton Facebook --> | ||||
<a class="resp-sharing-button__link" href="https://facebook.com/sharer/sharer.php?u={{ $url }}" target="_blank" rel="noopener" aria-label=""> | <a class="resp-sharing-button__link" href="https://facebook.com/sharer/sharer.php?u={{ $url }}" target="_blank" rel="noopener" aria-label=""> | ||||
<div class="resp-sharing-button resp-sharing-button--facebook resp-sharing-button--small"><div aria-hidden="true" class="resp-sharing-button__icon resp-sharing-button__icon--solid"> | <div class="resp-sharing-button resp-sharing-button--facebook resp-sharing-button--small"><div aria-hidden="true" class="resp-sharing-button__icon resp-sharing-button__icon--solid"> |