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

summary-masonry.html « components « partials « layouts - github.com/wangchucheng/hugo-eureka.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4027f7a3f1ab7e924db164359900e62074227024 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<div class="bg-secondary-bg rounded overflow-hidden border hover:shadow-lg transition ease-in-out duration-200">
  {{ $featured := partial "utils/get-featured" . }}
  {{ with $featured }}
  {{ . }}
  {{ end }}
  <div class="px-6 pt-6">
    <div class="font-bold text-xl text-primary-text mb-2">
      <a href="{{ .Permalink }}" class="hover:text-eureka">{{ .LinkTitle }}</a>
    </div>
    <div class="">
      {{ if .Description }}
        {{ .Description | plainify | htmlUnescape }}
      {{ else if .Summary }}
        {{ .Summary | plainify | htmlUnescape }}
      {{ end }}
    </div>
  </div>
  <div class="px-6 pb-2">
    {{ partial "components/post-metadata" . }}
  </div>
</div>