From f30ecf1cfa27c7af234cfd10a7e763215cc13a4c Mon Sep 17 00:00:00 2001 From: lsetiawan Date: Fri, 7 Jan 2022 15:14:28 -0800 Subject: [PATCH] Update template to satisfy Jessica :) --- book/schedule.yaml | 15 +++++++---- conda/environment.yml | 2 ++ cookiecutter.yaml | 4 ++- {{ cookiecutter.repo_directory }}/index.html | 27 ++++++++++++++++---- 4 files changed, 37 insertions(+), 11 deletions(-) diff --git a/book/schedule.yaml b/book/schedule.yaml index f4257c61..5c3312a3 100644 --- a/book/schedule.yaml +++ b/book/schedule.yaml @@ -1,5 +1,5 @@ +timezone: UTC -7 (Pacific Daylight Time) tabs: -- timezone: Pacific - title: Day 1 date: Wed 12, Oct contents: @@ -10,7 +10,9 @@ tabs: leads: - Scott Henderson - Anthony Arendt - video: https://youtu.be/cHQloxZFtOQ + resources: + - title: "SnowEx Hackweek 2021: Introductory Session" + url: https://youtu.be/cHQloxZFtOQ - time: 9:30 - 10:00 location: Room A5 title: Coffee Break @@ -22,9 +24,12 @@ tabs: contents: - time: 1:00 - 2:00 PM title: Coffee Break - description: more refueling, but with a bulleted list (not sure how to get a colon here) - * item 1 - * item 2 + description: | + + more refueling, but with a bulleted list: + + - list1 + - list2 - title: Day 3 date: Fri 14, Oct - title: Day 4 diff --git a/conda/environment.yml b/conda/environment.yml index 29a64bf3..a3f59cd2 100644 --- a/conda/environment.yml +++ b/conda/environment.yml @@ -16,3 +16,5 @@ dependencies: - mamba - pip - sphinxcontrib-bibtex + - pip: + - jinja_markdown diff --git a/cookiecutter.yaml b/cookiecutter.yaml index 3db58e04..d248d9e8 100644 --- a/cookiecutter.yaml +++ b/cookiecutter.yaml @@ -36,4 +36,6 @@ footer: icon_pack: fab link: https://github.com/uwhackweek/ _copy_without_render: -- assets \ No newline at end of file +- assets +_extensions: +- jinja_markdown.MarkdownExtension \ No newline at end of file diff --git a/{{ cookiecutter.repo_directory }}/index.html b/{{ cookiecutter.repo_directory }}/index.html index de823ed2..7ba7dd65 100644 --- a/{{ cookiecutter.repo_directory }}/index.html +++ b/{{ cookiecutter.repo_directory }}/index.html @@ -281,7 +281,9 @@
Interests / Expertise
{%- if cookiecutter.schedule %}
-

Schedule

+

Schedule

+

All times listed below are {{ cookiecutter.schedule.timezone }}. + You might want to consult this Time Zone Map to figure out times in your location.

{%- if cookiecutter.schedule["tabs"] %}