mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-14 18:24:37 -04:00
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.
This commit is contained in:
parent
627ffa6d49
commit
66f68964d9
@ -2,9 +2,6 @@
|
|||||||
title: "1 Password"
|
title: "1 Password"
|
||||||
date: 2018-01-22T17:31:17-05:00
|
date: 2018-01-22T17:31:17-05:00
|
||||||
description:
|
description:
|
||||||
sitelink: https://1password.com/
|
siteURL: https://1password.com/
|
||||||
repo:
|
siteSource:
|
||||||
creator:
|
|
||||||
- name:
|
|
||||||
link:
|
|
||||||
---
|
---
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: Boomtown Fair
|
title: Boomtown Fair
|
||||||
date: 2017-01-09T12:00:00-05:00
|
date: 2017-01-09T12:00:00-05:00
|
||||||
sitelink: 'http://www.boomtownfair.co.uk/'
|
siteURL: 'http://www.boomtownfair.co.uk/'
|
||||||
repo:
|
siteSource:
|
||||||
creator:
|
|
||||||
- name:
|
|
||||||
link:
|
|
||||||
---
|
---
|
||||||
|
@ -1,10 +1,8 @@
|
|||||||
---
|
---
|
||||||
title: Brightline Initiative
|
title: Brightline Initiative
|
||||||
date: 2018-01-19T12:00:00-05:00
|
date: 2018-01-19T12:00:00-05:00
|
||||||
sitelink: https://www.brightline.org/
|
siteURL: https://www.brightline.org/
|
||||||
repo:
|
siteSource:
|
||||||
creator:
|
|
||||||
- name: Sérgio Jardim
|
|
||||||
link:
|
|
||||||
---
|
---
|
||||||
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.
|
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.
|
||||||
|
@ -2,9 +2,7 @@
|
|||||||
title: Crossref
|
title: Crossref
|
||||||
date: 2017-10-05T12:00:00-05:00
|
date: 2017-10-05T12:00:00-05:00
|
||||||
description:
|
description:
|
||||||
sitelink:
|
siteURL: https://www.crossref.org/
|
||||||
repo:
|
siteSource:
|
||||||
creator:
|
|
||||||
- name:
|
|
||||||
link:
|
|
||||||
---
|
---
|
||||||
|
@ -2,10 +2,8 @@
|
|||||||
title: "eSolia"
|
title: "eSolia"
|
||||||
date: 2015-07-09T13:18:00.000Z
|
date: 2015-07-09T13:18:00.000Z
|
||||||
description:
|
description:
|
||||||
sitelink: http://esolia.com/
|
siteURL: http://esolia.com/
|
||||||
repo:
|
siteSource:
|
||||||
creator:
|
|
||||||
- name: eSolia Inc.
|
|
||||||
link:
|
|
||||||
---
|
---
|
||||||
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/)
|
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/)
|
||||||
|
@ -1,12 +1,9 @@
|
|||||||
---
|
---
|
||||||
title: Forest Giant
|
title: Forest Giant
|
||||||
date: 2016-12-17T12:00:00-05:00
|
date: 2016-12-17T12:00:00-05:00
|
||||||
sitelink: 'https://www.forestgiant.com/'
|
siteURL: https://www.forestgiant.com/
|
||||||
repo:
|
siteSource:
|
||||||
creator:
|
|
||||||
- name:
|
|
||||||
link:
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
A Netlify [Site of the Week](https://www.netlify.com/site-of-the-week/forest-giant/)
|
A Netlify [Site of the Week](https://www.netlify.com/site-of-the-week/forest-giant/)
|
||||||
|
9
content/showcase/forestry/bio.md
Normal file
9
content/showcase/forestry/bio.md
Normal file
@ -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!**
|
@ -1,9 +1,7 @@
|
|||||||
---
|
---
|
||||||
title: Forestry.io
|
title: Forestry.io
|
||||||
date: 2017-10-13T12:00:00-05:00
|
date: 2017-10-13T12:00:00-05:00
|
||||||
sitelink: https://forestry.io/
|
siteURL: https://forestry.io/
|
||||||
repo: https://github.com/forestryio
|
siteSource: https://github.com/forestryio
|
||||||
creator:
|
|
||||||
- name:
|
|
||||||
link:
|
|
||||||
---
|
---
|
||||||
|
@ -1,11 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: labs.usa.gov
|
title: labs.usa.gov
|
||||||
date: 2017-01-09T12:00:00-05:00
|
date: 2017-01-09T12:00:00-05:00
|
||||||
tools:
|
siteURL: https://labs.usa.gov/
|
||||||
- hugo
|
siteSource:
|
||||||
sitelink: 'https://labs.usa.gov/'
|
|
||||||
repo:
|
|
||||||
creator:
|
|
||||||
- name:
|
|
||||||
link:
|
|
||||||
---
|
---
|
||||||
|
@ -2,9 +2,6 @@
|
|||||||
title: "Lets Encrypt"
|
title: "Lets Encrypt"
|
||||||
date: 2018-01-22T17:30:15-05:00
|
date: 2018-01-22T17:30:15-05:00
|
||||||
description:
|
description:
|
||||||
sitelink: https://letsencrypt.org/
|
siteURL: https://letsencrypt.org/
|
||||||
repo:
|
siteSource:
|
||||||
creator:
|
|
||||||
- name:
|
|
||||||
link:
|
|
||||||
---
|
---
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: Linking Art Gallery
|
title: Linking Art Gallery
|
||||||
date: 2017-03-03T12:00:00-05:00
|
date: 2017-03-03T12:00:00-05:00
|
||||||
sitelink: 'http://www.linkingart.gallery/'
|
siteURL: 'http://www.linkingart.gallery/'
|
||||||
repo:
|
siteSource:
|
||||||
creator:
|
|
||||||
- name: Cantiere Creativo
|
|
||||||
link: https://www.cantierecreativo.net/
|
|
||||||
---
|
---
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: Netlify
|
title: Netlify
|
||||||
date: 2017-10-15T12:00:00-05:00
|
date: 2017-10-15T12:00:00-05:00
|
||||||
sitelink: https://www.netlify.com/
|
siteURL: https://www.netlify.com/
|
||||||
repo:
|
siteSource:
|
||||||
creator:
|
|
||||||
- name:
|
|
||||||
link:
|
|
||||||
---
|
---
|
||||||
|
@ -2,9 +2,7 @@
|
|||||||
title: "Prettyflyfpv"
|
title: "Prettyflyfpv"
|
||||||
date: 2018-01-22T17:31:06-05:00
|
date: 2018-01-22T17:31:06-05:00
|
||||||
description: ""
|
description: ""
|
||||||
sitelink: https://prettyflyfpv.com/
|
siteURL: https://prettyflyfpv.com/
|
||||||
repo:
|
siteSource:
|
||||||
creator:
|
|
||||||
- name:
|
|
||||||
link:
|
|
||||||
---
|
---
|
||||||
|
@ -1,9 +1,5 @@
|
|||||||
---
|
---
|
||||||
title: "Smashing Magazine"
|
title: "Smashing Magazine"
|
||||||
date: 2018-01-22T17:30:00-05:00
|
date: 2018-01-22T17:30:00-05:00
|
||||||
description: ""
|
siteURL: https://www.smashingmagazine.com/
|
||||||
repo:
|
|
||||||
creator:
|
|
||||||
- name:
|
|
||||||
link:
|
|
||||||
---
|
---
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
title: upframe
|
title: upframe
|
||||||
date: 2017-01-15T12:00:00-05:00
|
date: 2017-01-15T12:00:00-05:00
|
||||||
sitelink: https://upframe.co
|
sitelink: https://upframe.co
|
||||||
repo: https://github.com/upframe/upframe.co
|
siteURL: https://github.com/upframe/upframe.co
|
||||||
creator:
|
siteSource:
|
||||||
- name:
|
|
||||||
link:
|
|
||||||
---
|
---
|
||||||
|
@ -1,11 +1,7 @@
|
|||||||
---
|
---
|
||||||
title: "{{ replace .TranslationBaseName "-" " " | title }}"
|
title: "{{ replace .Name "-" " " | title }}"
|
||||||
date: {{ .Date }}
|
date: {{ .Date }}
|
||||||
description:
|
description:
|
||||||
sitelink:
|
siteURL:
|
||||||
repo:
|
siteSource:
|
||||||
creator:
|
|
||||||
- name:
|
|
||||||
link:
|
|
||||||
images: []
|
|
||||||
---
|
---
|
||||||
|
@ -43,42 +43,18 @@
|
|||||||
</div>
|
</div>
|
||||||
<aside class="fn mid-gray w-100 w-30-ns">
|
<aside class="fn mid-gray w-100 w-30-ns">
|
||||||
<div class="mt4 mt0-ns nested-links ml3-m ml4-l">
|
<div class="mt4 mt0-ns nested-links ml3-m ml4-l">
|
||||||
{{/* Put the site details in a box. Use Sitelink as min level of content to show the box, because if other details are present, the site link should be. */}}
|
|
||||||
{{if .Params.sitelink}}
|
|
||||||
<div class="ba b--moon-gray bg-white pa3">
|
<div class="ba b--moon-gray bg-white pa3">
|
||||||
{{with .Params.sitelink}}
|
{{ with .Params.siteURL }}
|
||||||
<a href="{{.}}" class="db pre f4 mb1">{{ . | replaceRE "^https?://([^/]+).*" "$1"}} {{ partial "svg/link-ext.svg" (dict "size" "10") }}</a>
|
<a href="{{ . }}" class="db pre f4 mb1">{{ . | replaceRE "^https?://([^/]+).*" "$1"}} {{ partial "svg/link-ext.svg" (dict "size" "10") }}</a>
|
||||||
{{end}}
|
{{ end }}
|
||||||
{{with .Params.repo}}
|
{{ with .Params.siteSource }}
|
||||||
<a href="{{.}}" class="db mb4">source {{ partial "svg/link-ext.svg" (dict "size" "10") }}</a>
|
<a href="{{ . }}" class="db mb4">source {{ partial "svg/link-ext.svg" (dict "size" "10") }}</a>
|
||||||
{{end}}
|
{{ end }}
|
||||||
{{with .Params.description}}
|
{{ $bio := (.Resources.ByType "page").GetMatch "bio*" }}
|
||||||
<div class="f6 f5-l lh-title mv4">
|
{{ with $bio }}
|
||||||
{{- . | markdownify -}}
|
{{ .Content }}
|
||||||
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
|
||||||
{{/* Because we want to allow for the creator array to be present in an item's front matter it will always show as set, so we see if the first item's name field is not null, then show the created by fields. Better way? */}}
|
|
||||||
{{$creator := (index .Params.creator 0).name }}
|
|
||||||
{{if ne $creator nil}}
|
|
||||||
<div class="mb4">
|
|
||||||
Created by:<br />
|
|
||||||
<ul>
|
|
||||||
{{range .Params.creator}}
|
|
||||||
<li>
|
|
||||||
{{if .link}}
|
|
||||||
<a href="{{.link}}" class="link"/>
|
|
||||||
{{- .name -}}
|
|
||||||
</a>
|
|
||||||
{{else}}
|
|
||||||
{{.name}}
|
|
||||||
{{end}}
|
|
||||||
</li>
|
|
||||||
{{end}}
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
{{end}}
|
|
||||||
</div>
|
|
||||||
{{end}}
|
|
||||||
<div class="b--light-gray bt dn-l pt3">
|
<div class="b--light-gray bt dn-l pt3">
|
||||||
<div class="f6 gray mb2">Previous/Next</div>
|
<div class="f6 gray mb2">Previous/Next</div>
|
||||||
{{- partial "previous-next-links-in-section-with-title.html" . -}}
|
{{- partial "previous-next-links-in-section-with-title.html" . -}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user