1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- {{ define "main" }}
-
- {{ partial "navigation.html" . }}
-
- <section class="section section-bg">
- <div class="container">
- <div class="row">
- <div class="col-lg-10 mx-auto">
- <div class="title text-center">
- <h2>{{ with i18n "aboutAuthor" }} {{ index (split . " ") 0 | safeHTML }} {{ end }}<span class="color">
- {{ with i18n "aboutAuthor" }} {{ index (split . " ") 1 | safeHTML }} {{ end }} </span></h2>
- <div class="border-meghna"></div>
- </div>
- <div class="content text-center">
- <figure>
- {{ if .Params.Image }}
- <img class="rounded-circle img-fluid lozad" data-src="{{.Params.Image | relURL }}">
- {{else if .Params.Email}}
- <img class="rounded-circle img-fluid lozad"
- data-src="https://www.gravatar.com/avatar/{{ md5 .Params.email }}?s=128&pg&d=identicon">
- {{ end }}
- <figcaption>
- <h5 class="font-weight-bold">
- {{ .Title }}
- </h5>
- </figcaption>
- </figure>
- <hr>
- {{ .Content }}
- <hr>
- <ul class="list-inline">
- {{ range .Params.Social }}
- <li class="list-inline-item"><a class="simple-icon" href="{{ .link | safeURL}}"><i
- class="{{ .icon }}"></i></a></li>
- {{ end }}
- </ul>
- </div>
- </div>
- </div>
- </div>
- </section>
-
- <section class="section">
- <div class="container">
- <div class="row">
- <div class="col-lg-12">
- <div class="title text-center">
- <h2>{{ with i18n "authorsPosts" }} {{ index (split . " ") 0 | safeHTML }} {{ end }}<span class="color">
- {{ with i18n "authorsPosts" }} {{ index (split . " ") 1 | safeHTML }} {{ end }}</h2>
- <div class="border-meghna"></div>
- </div>
- </div>
- {{ range where site.RegularPages "Params.author" .Title }}
- {{ .Render "article" }}
- {{ end }}
- </div>
- </div>
- </section>
- {{ end }}
|