npm install
to get everything setupnpm run build
to build a fully optimised version of the site into_site
npm run start
to run a dev server without Tailwind optimisations
- Icons from Feather Icons | Github Repo
- Tailwind CSS | Docs
- Typography plugin to make Markdown look good
- Aspect Ratio plugin to make YT embeds not look like trash
- Eleventy | Docs
- Tailblocks where I needed some design inspiration
Talks are structured in a folder for each event. The folder name should match the events associated event file name for consistency. For example src/talk/event-name
.
To add an image to a speaker, put it in the src/_includes/img/speakers
folder and then add the full file name to the relevent speaker file in src/speaker
. It will now automatically replace the default icon.
Add a new file in the src/event
folder with the name of the event, using hhyphens for spaces. Each event frontmatter should include:
- Title
- Date (in ISO 8601 format)
- Excerpt (short description used mostly on the home page)
And then include the full description as the main content in Markdown format.
{% for item in collections.talks %}
{% if item.event === 'pycon-2018' %}
<li><a href="{{ item.url }}">{{ item.data.title }}</a></li>
{% endif %}
{% endfor %}
<br><hr><br>
{% for talk in collections.talks | eventFilter('pyconau-2020') %}
<li><a href="{{ talk.url }}">{{ talk.data.title }}</a></li>
{% endfor %}
<br><hr><br>
{% for talk in collections.talks | talkFilter('elissa-shevinsky') %}
<li><a href="{{ talk.url }}">{{ talk.data.title }}</a></li>
{% endfor %}