progressed on mosaic layout

This commit is contained in:
Naej Doree
2020-07-08 00:23:48 +02:00
parent 31ea01f83d
commit 141fc9c42c
10 changed files with 81 additions and 38 deletions

View File

@@ -1,5 +1,7 @@
{{/* used in ??? - probably nowhere*/}}
<article class="bb b--black-10">
<a class="db pv4 ph3 ph0-l no-underline dark-gray dim" href="{{ .Permalink }}">
<a class="db pv4 ph3 ph0-l no-underline light-gray dim" href="{{ .Permalink }}">
<div class="flex flex-column flex-row-ns">
{{ $featured_image := partial "func/GetFeaturedImage.html" . }}
{{ if $featured_image }}
@@ -8,9 +10,9 @@
</div>
{{ end }}
<div class="w-100{{ if $featured_image }} w-60-ns pl3-ns{{ end }}">
<h1 class="f3 fw1 athelas mt0 lh-title">{{ .Title }}</h1>
<h1 class="f3 fw1 avenir mt0 lh-title">{{ .Title }}</h1>
<div class="f6 f5-l lh-copy nested-copy-line-height">
{{ .Summary }}
{{ .Description }}
</div>
{{/* TODO: add author
<p class="f6 lh-copy mv0">By {{ .Author }}</p> */}}