| {{/* |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| */}} |
| |
| <div class="card"> |
| <div class="box-event__blogpost"> |
| <div class="box-event__blogpost--metadata"> |
| <div class="tags-container"> |
| {{ range $tag := .Params.tags }} |
| {{ with $.Site.GetPage (printf "/tags/%s" $tag) }} |
| <a class="tag" href="{{ .Permalink }}">{{ humanize $tag }}</a> |
| {{ end }} |
| {{ end }} |
| </div> |
| <span class="bodytext__medium--brownish-grey box-event__blogpost--date">{{ .Date.Format "Mon, Jan 2, 2006" }}</span> |
| </div> |
| <p class="box-event__blogpost--header">{{ .Params.title }}</p> |
| <p class="box-event__blogpost--author">{{ .Params.author }}</p> |
| <p class="box-event__blogpost--description">{{ .Params.description }}</p> |
| <div class="mt-auto"> |
| <a href="{{ .RelPermalink }}"> |
| {{ partial "buttons/button-hollow" (dict "text" "Read more") }} |
| </a> |
| </div> |
| </div> |
| </div> |