Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (25 sloc) 1.28 KB
<div class="col-md-4 mt20">
<div class="post-img">
{{ if .Params.img }}
<img width="600" src="{{ .Site.BaseURL}}images/{{ .Params.img }}" alt="{{ .Params.title }}">
{{ else }}
<img width="600" src="{{ .Site.BaseURL }}images/{{ .Site.Params.defaultImage }}" alt="webjeda">
{{ end }}
<div class="mt10 recent">
<h2>Recent articles</h2>
{{ range first 3 (where .Site.RegularPages "Section" "posts") }}
<p><a href="{{ .Permalink }}">{{ .Title }}</a><small>&nbsp;&nbsp;{{ .Date.Format "January 2, 2006" }}</small></p>
{{ end }}
{{ if .Site.Params.fbLikeBox }}
<div class="mt10">
<div class="fb-page" data-href="" data-width="400" data-small-header="true" data-adapt-container-width="true" data-hide-cover="true" data-show-facepile="true"><blockquote cite="" class="fb-xfbml-parse-ignore"><a href="{site.fb-page-url}}">{{ .Site.Params.fbPageTitle}}</a></blockquote></div>
{{ end }}
You can’t perform that action at this time.