-
Notifications
You must be signed in to change notification settings - Fork 34
Adding an event
Fork the Async website repo and clone the forked repo:
$ git clone git@github.com:USERNAME/async-website.git
Copy the blank event template file at /_posts/0000-01-01-_blank.md and rename it using the event's date (YYYY-MM-DD) and a representative URL "slug". The slug will be used as the path on the Async website - e.g. https://asyncjs.com/my-event/
$ cd async-website/_posts/
$ cp 0000-01-01-_blank.md 2017-04-14-my-event.md
Edit the new file and change the following meta data:
title: The title of the event
summary: A short one-liner for the event (Markdown is allowed)
date: YYYY-MM-DDT19:15:00 (only change the YYYY-MM-DD)
speakers:
- name: John Doe
link: https://example.com/@johndoe
If you're feeling adventurous, then you can go ahead and search for an inspirational Creative Commons photo on Flickr to beautify the post, e.g. flickr.com/search/?l=cc&ss=0&ct=6&mt=all&adv=1&s=int&q=light
Enter the image src, photo page, photo title and author in the image:
meta data, like so:
image:
url: https://c1.staticflickr.com/6/5683/32494523010_b74efe5202_k.jpg
title: Light Painting by Paolo Lottini
link: https://www.flickr.com/photos/pepe50/32494523010
Add some content to the page about the event. For example:
- What is the talk about?
- Who is it for?
- Why is it useful / what will people gain?
- Who is John Doe (the speaker)
Remember to include relevant URLs to libraries, concepts, people, etc. Markdown can be used to add links and formatting.
Push your changes to your forked repo:
$ git add .
$ git commit -m "Add new event post"
$ git push origin master
To notify us that we can merge in your changes, send a pull request through the GitHub site.