common layout for members

This commit is contained in:
Yves Gatesoupe 2020-07-16 18:49:16 +02:00
parent c60254a81a
commit d20a9e3183
6 changed files with 3 additions and 5 deletions

View File

@ -101,7 +101,6 @@ Fill in the meta information :
8. `socialTwitter:` profile url if any 8. `socialTwitter:` profile url if any
9. `socialLinkedin:` profile url if any 9. `socialLinkedin:` profile url if any
10. `url:` personal page url in the website, eg `/members/name-surname` 10. `url:` personal page url in the website, eg `/members/name-surname`
11. `layout:` template layout to be used for personal page, by default `layouts/member.njk`
Then add the member bio or any content Then add the member bio or any content

View File

@ -5,7 +5,6 @@ positionInternal: 'Co-fondateur'
date: '2019-01-01' date: '2019-01-01'
profile: '/images/profiles/fls-profile.jpg' profile: '/images/profiles/fls-profile.jpg'
url: '/members/florent-le-saout' url: '/members/florent-le-saout'
layout: 'layouts/member.njk'
--- ---
Florent Florent

View File

@ -4,7 +4,6 @@ position: 'Développeur systèmes embarqués'
date: '2020-06-01' date: '2020-06-01'
profile: '/images/profiles/default-profile.png' profile: '/images/profiles/default-profile.png'
url: '/members/francois-bonningues' url: '/members/francois-bonningues'
layout: 'layouts/member.njk'
--- ---
François François

3
src/members/members.json Normal file
View File

@ -0,0 +1,3 @@
{
"layout": "layouts/member.njk"
}

View File

@ -5,7 +5,6 @@ positionInternal: 'Co-fondateur'
date: '2019-01-01' date: '2019-01-01'
profile: '/images/profiles/vg-profile.jpg' profile: '/images/profiles/vg-profile.jpg'
url: '/members/vincent-genieux' url: '/members/vincent-genieux'
layout: 'layouts/member.njk'
--- ---
Vincent Vincent

View File

@ -7,7 +7,6 @@ personalSite: 'www.astrolabe.coop'
socialTwitter: 'https://twitter.com/YGdsgn' socialTwitter: 'https://twitter.com/YGdsgn'
socialLinkedin: 'https://www.linkedin.com/in/yves-gatesoupe-05990b17a/' socialLinkedin: 'https://www.linkedin.com/in/yves-gatesoupe-05990b17a/'
url: '/members/yves-gatesoupe' url: '/members/yves-gatesoupe'
layout: 'layouts/member.njk'
--- ---
Je suis designer web indépendant depuis janvier 2019. Je suis designer web indépendant depuis janvier 2019.