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

summary.html « post « layouts - github.com/xianmin/hugo-theme-jane.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fa93482fa671623ec656a5103e6d26b7d4479d79 (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
<article class="post bg-white">
  <header class="post-header">
    <h1 class="post-title">
      {{ if .Params.weight }}
        <span class="post-pinned">
          {{ partial "svg/pinned.svg" }}
        </span>
      {{ end }}
      <a class="post-link" href="{{ .RelPermalink }}">{{ .Title }}</a>
    </h1>
    {{ partial "post/i18nlist.html" . }}
    {{ partial "post/meta.html" . }}
  </header>
  <!-- Content -->
  <div class="post-content">
    {{ if .Site.Params.homeFullContent }}
      <div class="post-summary">
        {{ .Content }}
      </div>
    {{ else }}
      <div class="post-summary">
        {{ .Summary }}
      </div>
      <div class="read-more">
        <a href="{{ .RelPermalink }}" class="read-more-link"
          >{{ i18n "readmore" }}</a
        >
      </div>
    {{ end }}
  </div>
</article>