Added version numbers to updates, tightened up hero section

This commit is contained in:
Lennart Ziburski
2018-02-21 23:51:54 +01:00
parent cc0ef12aa9
commit 85cac44d25
8 changed files with 39 additions and 32 deletions

View File

@ -1,6 +1,6 @@
---
hero:
headline: "Open source content management for your Git workflow"
headline: "Open source content management <br />for your Git&nbsp;workflow"
subhead: "Use Netlify CMS with any static site generator for a faster and more flexible web&nbsp;project"
devfeatures:
- feature: "Static + content management = ♥"

View File

@ -1,16 +1,13 @@
updates:
- date: 2018-02-22
description: Netlify CMS 1.1 lets you register external backends and fixes various interface bugs.
- date: 2018-01-25
version: '1.1'
description: You can now register external backends and we improved metadata handling.
url: 'https://github.com/netlify/netlify-cms/releases/tag/1.1.0'
- date: 2018-02-21
description: Netlify CMS 1.1 lets you register external backends and fixes various interface bugs.
- date: 2018-01-23
version: '1.0.4'
description: Fixes various UI bugs and adds expand / collapse functionality to the object widget.
url: 'https://github.com/netlify/netlify-cms/releases/tag/1.1.0'
- date: 2018-02-20
description: Netlify CMS 1.1 lets you register external backends and fixes various interface bugs.
url: 'https://github.com/netlify/netlify-cms/releases/tag/1.1.0'
- date: 2018-02-19
description: Netlify CMS 1.1 lets you register external backends and fixes various interface bugs.
url: 'https://github.com/netlify/netlify-cms/releases/tag/1.1.0'
- date: 2018-02-18
description: Netlify CMS 1.1 lets you register external backends and fixes various interface bugs.
- date: 2018-12-19
version: '1.0.3'
description: Small bug fix release.
url: 'https://github.com/netlify/netlify-cms/releases/tag/1.1.0'

View File

@ -5,8 +5,8 @@
<div class="contained">
<div class="hero-copy">
<h1 class="headline">{{ .Site.Data.landing.hero.headline | markdownify }}</h1>
<span class="subhead">{{ .Site.Data.landing.hero.subhead | markdownify }}</span>
<h1 class="headline">{{ .Site.Data.landing.hero.headline | markdownify }}</h1>
</div>
<div class="hero-features">
{{ range $index, $id := .Site.Data.landing.hero.devfeatures }}
@ -34,7 +34,7 @@
<ol>
{{ range .Site.Data.updates }}
{{ range first 3 . }}
<a href="{{ .url }}"><li><span class="update-date">{{ dateFormat "January 2, 2006" .date }}</span><span class="update-description">{{ .description }}</span></li></a>
<a href="{{ .url }}"><li><div class="update-metadata"><span class="update-version">{{ .version }}</span><span class="update-date">{{ dateFormat "January 2, 2006" .date }}</span></div><span class="update-description">{{ .description }}</span></li></a>
{{ end }}
{{ end }}
</ol>