Website for Virtual ServerlessDays
Static site generated using 11ty and nunjucks templates
Templates are in src/web/_includes
Content is in src/web/. Update the .md and .json file to update content.
Global Site wide data is in src/_data.
src/web/_data/event.jsonbasic information about the eventsrc/web/_data/nav.jsonNavigation links for the site. Rendered top and bottom of the sitesrc/web/_data/news.jsonIndex of blog posts for the site. Used to render the blog post home pagesrc/web/_data/speakers.jsonIndex of speakers. Used to generate the speaker index page, and speaker component on home page
To add a speaker you need to create a markdown file in src/web/speakers/ using the name of the speaker (eg src/web/speakers/emrah.md) with the following format.
---layout: speaker.njkspeaker:
name: Speaker Nametitle: Speaker Job Titlebio: Speaker Bioimg: Link to speaker Imagesocial:
- name: Twitterlink: Link to speaker twitter profileicon: /img/Twitter.svg
- name: LinkedInlink: Link to speaker LinkedIn profileicon: /img/linkedin_white.png---## Add Talk Title here
Add talk abstract/description here
Put the speaker profile image in src/web/img. It needs to be 400x400 pixels.
Update the speaker index at src/web/_data/speakers.json by adding an object into the array. The required format of the object is
{
"img": "/img/speakerImage.jpg",
"name": "Speaker Name",
"link": "/speakers/speakerName"
}npm run dev
Commit to master builds the site. A PR on the repo will generate a deploy preview