Skip to content
This repository was archived by the owner on Oct 14, 2024. It is now read-only.

Repository files navigation

serverlessdays-virtual

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.json basic information about the event
  • src/web/_data/nav.json Navigation links for the site. Rendered top and bottom of the site
  • src/web/_data/news.json Index of blog posts for the site. Used to render the blog post home page
  • src/web/_data/speakers.json Index of speakers. Used to generate the speaker index page, and speaker component on home page

Add a Speaker

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"
}

Local Dev

npm run dev

Commit to master builds the site. A PR on the repo will generate a deploy preview

About

Website for Virtual ServerlessDays

Resources

Code of conduct

Stars

0 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages