Welcome to mirror list, hosted at ThFree Co, Russian Federation.

copyright.html « post « partials « layouts - github.com/xiaoheiAh/hugo-theme-pure.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e7f47eee18812babdb4d21e1f7ca89c3c9eb2a17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{{- if .Site.Params.enablePostCopyright }}
<blockquote class="mt-2x">
  <ul class="post-copyright list-unstyled">
    <li class="post-copyright-link hidden-xs">
      <strong>{{ T "copyright_post" }}: </strong>
      <a href="{{- .Permalink }}" title="{{- .Title }}" target="_blank" rel="external">{{- .Permalink }}</a>
    </li>
    <li class="post-copyright-license">
      <strong>{{ T "copyright_license" }}:</strong><a href="http://creativecommons.org/licenses/by/4.0/deed.zh" target="_blank" rel="external">CC BY 4.0 CN</a>
    </li>
  </ul>
</blockquote>
{{ $profile := .Site.Params.profile }}
{{- with $profile.enabled }}
<div class="panel panel-default panel-badger">
  <div class="panel-body">
    <figure class="media">
      <div class="media-left">
        <a href="{{- $profile.follow }}" target="_blank" class="img-burn thumb-sm visible-lg">
          <img src="{{- $profile.avatar | absURL }}" class="img-rounded w-full" alt="">
        </a>
      </div>
      <div class="media-body">
        <h3 class="media-heading"><a href="{{- $profile.follow }}" target="_blank"><span class="text-dark">{{- $profile.author }}</span><small class="ml-1x">{{- $profile.author_title }}</small></a></h3>
        <div>{{- $profile.author_description }}</div>
      </div>
    </figure>
  </div>
</div>
{{- end }}
{{- end }}