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

summary-plain.html « components « partials « layouts - github.com/wangchucheng/hugo-eureka.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 981ab36605142ffd89a0a4b945c44c0ae33f9db3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<div class="flex flex-col-reverse lg:flex-row justify-between">
  {{ $featured := partial "utils/get-featured" . }}
  <div class="w-full {{ with $featured }}lg:w-2/3{{ end }}">
    {{ partial "utils/get-summary" . }}
  </div>

  {{ with $featured }}
  <div class="w-full lg:w-1/3 mb-4 lg:mb-0 lg:ml-8">
    {{ . }}
  </div>
  {{ end }}
</div>