From 66f68964d9a0d4a81358a67749c3ed1c4894c9d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Tue, 6 Feb 2018 10:51:17 +0100 Subject: [PATCH] Standardize showcase metadata * Add a bio page. Writing markdown in YAML front matter is hard ... With this the site owners can create a "site bio" with proper credits. * Also standardize the other fields. --- content/showcase/1password/index.md | 7 +-- content/showcase/boomtown-fair/index.md | 7 +-- content/showcase/brightline-org/index.md | 8 ++-- content/showcase/crossref/index.md | 8 ++-- content/showcase/esolia/index.md | 8 ++-- content/showcase/forest-giant/index.md | 9 ++-- content/showcase/forestry/bio.md | 9 ++++ content/showcase/forestry/index.md | 8 ++-- content/showcase/labs-us-gov-hugo/index.md | 9 +--- content/showcase/lets-encrypt/index.md | 7 +-- content/showcase/linkingart-gallery/index.md | 7 +-- content/showcase/netlify/index.md | 7 +-- content/showcase/prettyflyfpv/index.md | 8 ++-- content/showcase/smashing-magazine/index.md | 6 +-- content/showcase/upframe/index.md | 6 +-- themes/gohugoioTheme/archetypes/showcase.md | 10 ++-- .../layouts/showcase/single.html | 48 +++++-------------- 17 files changed, 57 insertions(+), 115 deletions(-) create mode 100644 content/showcase/forestry/bio.md diff --git a/content/showcase/1password/index.md b/content/showcase/1password/index.md index 41587d7ea..cacd651f1 100644 --- a/content/showcase/1password/index.md +++ b/content/showcase/1password/index.md @@ -2,9 +2,6 @@ title: "1 Password" date: 2018-01-22T17:31:17-05:00 description: -sitelink: https://1password.com/ -repo: -creator: - - name: - link: +siteURL: https://1password.com/ +siteSource: --- diff --git a/content/showcase/boomtown-fair/index.md b/content/showcase/boomtown-fair/index.md index 5e4a9252a..3889730d0 100644 --- a/content/showcase/boomtown-fair/index.md +++ b/content/showcase/boomtown-fair/index.md @@ -1,9 +1,6 @@ --- title: Boomtown Fair date: 2017-01-09T12:00:00-05:00 -sitelink: 'http://www.boomtownfair.co.uk/' -repo: -creator: - - name: - link: +siteURL: 'http://www.boomtownfair.co.uk/' +siteSource: --- diff --git a/content/showcase/brightline-org/index.md b/content/showcase/brightline-org/index.md index d39895327..48db17d41 100644 --- a/content/showcase/brightline-org/index.md +++ b/content/showcase/brightline-org/index.md @@ -1,10 +1,8 @@ --- title: Brightline Initiative date: 2018-01-19T12:00:00-05:00 -sitelink: https://www.brightline.org/ -repo: -creator: - - name: Sérgio Jardim - link: +siteURL: https://www.brightline.org/ +siteSource: + --- The goal of this TED Women 2017, held in New Orleans, was to surface bold ideas from women and those who support them. We heard from an entrepreneur with an idea poised to transform how we consume power and from an architect who sees her work as being a healer. In this report, you can read these and others TEDWomen 2017 event's takeaways. diff --git a/content/showcase/crossref/index.md b/content/showcase/crossref/index.md index 4ba17ad72..55cd6af49 100644 --- a/content/showcase/crossref/index.md +++ b/content/showcase/crossref/index.md @@ -2,9 +2,7 @@ title: Crossref date: 2017-10-05T12:00:00-05:00 description: -sitelink: -repo: -creator: - - name: - link: +siteURL: https://www.crossref.org/ +siteSource: + --- diff --git a/content/showcase/esolia/index.md b/content/showcase/esolia/index.md index 10436d368..bf6063048 100644 --- a/content/showcase/esolia/index.md +++ b/content/showcase/esolia/index.md @@ -2,10 +2,8 @@ title: "eSolia" date: 2015-07-09T13:18:00.000Z description: -sitelink: http://esolia.com/ -repo: -creator: - - name: eSolia Inc. - link: +siteURL: http://esolia.com/ +siteSource: + --- eSolia had experimented with various other site generators, both proprietary and open source, and with server-side CMSs. We wanted the superior security and performance of a static site, without having to deal with development environment dependencies, meaning having to keep various libraries updated. [Hugo](http://gohugo.io/), written in the modern Go language, fits that requirement perfectly. It is not only available as a single, easy-to-install binary file for Mac, Linux and Windows, it was written to be insanely great in terms of speed and performance. Most sites build in milliseconds; in fact it takes longer to sync them to your web host than it does to generate the site! We like it so much that we built my personal site [Rick Cogley Central](http://rick.cogley.info/), eSolia's [English esolia.com](http://esolia.com/) and [Japanese esolia.co.jp](http://esolia.co.jp/) sites, and finally, eSolia's professional blog at [eSolia.pro](http://esolia.pro/) in it. As of July 2015, Hugo's community is vibrant, development is actively proceeding, and we'd love to welcome new users to the fold. Also see:[Why Hugo? A static site generator optimized for performance](http://esolia.pro/en/why-did-esolia-choose-hugo/)[](http://esolia.pro/en/why-did-esolia-choose-hugo/) diff --git a/content/showcase/forest-giant/index.md b/content/showcase/forest-giant/index.md index 9948475e4..603bc846b 100644 --- a/content/showcase/forest-giant/index.md +++ b/content/showcase/forest-giant/index.md @@ -1,12 +1,9 @@ --- title: Forest Giant date: 2016-12-17T12:00:00-05:00 -sitelink: 'https://www.forestgiant.com/' -repo: -creator: - - name: - link: +siteURL: https://www.forestgiant.com/ +siteSource: + --- - A Netlify [Site of the Week](https://www.netlify.com/site-of-the-week/forest-giant/) diff --git a/content/showcase/forestry/bio.md b/content/showcase/forestry/bio.md new file mode 100644 index 000000000..cc58ee295 --- /dev/null +++ b/content/showcase/forestry/bio.md @@ -0,0 +1,9 @@ + +Forestry is a great **CMS** for static site generators. + +The site is built by: + +* [Person 1](https://example.com) +* [Person 1](https://example.com) + +And it woks **great with Hugo!** \ No newline at end of file diff --git a/content/showcase/forestry/index.md b/content/showcase/forestry/index.md index c05e6a664..3a4b2a48b 100644 --- a/content/showcase/forestry/index.md +++ b/content/showcase/forestry/index.md @@ -1,9 +1,7 @@ --- title: Forestry.io date: 2017-10-13T12:00:00-05:00 -sitelink: https://forestry.io/ -repo: https://github.com/forestryio -creator: - - name: - link: +siteURL: https://forestry.io/ +siteSource: https://github.com/forestryio + --- diff --git a/content/showcase/labs-us-gov-hugo/index.md b/content/showcase/labs-us-gov-hugo/index.md index 229f3ce47..09b300df2 100644 --- a/content/showcase/labs-us-gov-hugo/index.md +++ b/content/showcase/labs-us-gov-hugo/index.md @@ -1,11 +1,6 @@ --- title: labs.usa.gov date: 2017-01-09T12:00:00-05:00 -tools: - - hugo -sitelink: 'https://labs.usa.gov/' -repo: -creator: - - name: - link: +siteURL: https://labs.usa.gov/ +siteSource: --- diff --git a/content/showcase/lets-encrypt/index.md b/content/showcase/lets-encrypt/index.md index 5951a9d53..9f498c307 100644 --- a/content/showcase/lets-encrypt/index.md +++ b/content/showcase/lets-encrypt/index.md @@ -2,9 +2,6 @@ title: "Lets Encrypt" date: 2018-01-22T17:30:15-05:00 description: -sitelink: https://letsencrypt.org/ -repo: -creator: - - name: - link: +siteURL: https://letsencrypt.org/ +siteSource: --- diff --git a/content/showcase/linkingart-gallery/index.md b/content/showcase/linkingart-gallery/index.md index 2fbbbc0a8..6313f35fb 100644 --- a/content/showcase/linkingart-gallery/index.md +++ b/content/showcase/linkingart-gallery/index.md @@ -1,9 +1,6 @@ --- title: Linking Art Gallery date: 2017-03-03T12:00:00-05:00 -sitelink: 'http://www.linkingart.gallery/' -repo: -creator: - - name: Cantiere Creativo - link: https://www.cantierecreativo.net/ +siteURL: 'http://www.linkingart.gallery/' +siteSource: --- diff --git a/content/showcase/netlify/index.md b/content/showcase/netlify/index.md index 8314867ff..b6c012c0d 100644 --- a/content/showcase/netlify/index.md +++ b/content/showcase/netlify/index.md @@ -1,9 +1,6 @@ --- title: Netlify date: 2017-10-15T12:00:00-05:00 -sitelink: https://www.netlify.com/ -repo: -creator: - - name: - link: +siteURL: https://www.netlify.com/ +siteSource: --- diff --git a/content/showcase/prettyflyfpv/index.md b/content/showcase/prettyflyfpv/index.md index 3213d1326..5b08e4dad 100644 --- a/content/showcase/prettyflyfpv/index.md +++ b/content/showcase/prettyflyfpv/index.md @@ -2,9 +2,7 @@ title: "Prettyflyfpv" date: 2018-01-22T17:31:06-05:00 description: "" -sitelink: https://prettyflyfpv.com/ -repo: -creator: - - name: - link: +siteURL: https://prettyflyfpv.com/ +siteSource: + --- diff --git a/content/showcase/smashing-magazine/index.md b/content/showcase/smashing-magazine/index.md index f3be7be41..015d2287b 100644 --- a/content/showcase/smashing-magazine/index.md +++ b/content/showcase/smashing-magazine/index.md @@ -1,9 +1,5 @@ --- title: "Smashing Magazine" date: 2018-01-22T17:30:00-05:00 -description: "" -repo: -creator: - - name: - link: +siteURL: https://www.smashingmagazine.com/ --- diff --git a/content/showcase/upframe/index.md b/content/showcase/upframe/index.md index ec4a9e487..bae544bbe 100644 --- a/content/showcase/upframe/index.md +++ b/content/showcase/upframe/index.md @@ -2,8 +2,6 @@ title: upframe date: 2017-01-15T12:00:00-05:00 sitelink: https://upframe.co -repo: https://github.com/upframe/upframe.co -creator: - - name: - link: +siteURL: https://github.com/upframe/upframe.co +siteSource: --- diff --git a/themes/gohugoioTheme/archetypes/showcase.md b/themes/gohugoioTheme/archetypes/showcase.md index 5e318366f..d852bb1ca 100644 --- a/themes/gohugoioTheme/archetypes/showcase.md +++ b/themes/gohugoioTheme/archetypes/showcase.md @@ -1,11 +1,7 @@ --- -title: "{{ replace .TranslationBaseName "-" " " | title }}" +title: "{{ replace .Name "-" " " | title }}" date: {{ .Date }} description: -sitelink: -repo: -creator: - - name: - link: -images: [] +siteURL: +siteSource: --- diff --git a/themes/gohugoioTheme/layouts/showcase/single.html b/themes/gohugoioTheme/layouts/showcase/single.html index d38d7f6a7..2bc4e6b64 100644 --- a/themes/gohugoioTheme/layouts/showcase/single.html +++ b/themes/gohugoioTheme/layouts/showcase/single.html @@ -43,42 +43,18 @@