From 5d2ed8cd6a91c4ab97d84edb6147826a668dca6f Mon Sep 17 00:00:00 2001 From: stevejpurves Date: Tue, 14 May 2024 15:25:11 +0100 Subject: [PATCH 1/2] separate publication and presentation listings --- _toc.yml | 24 ++++++++++++++++++++++++ presentations.md | 12 ++++++++++++ publications.md | 12 ++++++++++++ 3 files changed, 48 insertions(+) create mode 100644 _toc.yml create mode 100644 presentations.md create mode 100644 publications.md diff --git a/_toc.yml b/_toc.yml new file mode 100644 index 0000000..9c802f8 --- /dev/null +++ b/_toc.yml @@ -0,0 +1,24 @@ +# Table of Contents +# +# Myst will respect: +# 1. New pages +# - file: relative/path/to/page +# 2. New sections without an associated page +# - title: Folder Title +# sections: ... +# 3. New sections with an associated page +# - file: relative/path/to/page +# sections: ... +# +# Note: Titles defined on pages here are not recognized. +# +# This spec is based on the JupyterBook table of contents. +# Learn more at https://jupyterbook.org/customize/toc.html + +format: jb-book +root: index +chapters: + - file: mission + - file: open-science + - file: presentations + - file: publications diff --git a/presentations.md b/presentations.md new file mode 100644 index 0000000..50dd5f7 --- /dev/null +++ b/presentations.md @@ -0,0 +1,12 @@ +--- +title: Presentations +description: Presentations by the UBC-GIF team +--- + +:::{cn:articles} +:venue: appliedgeophysics +:collection: presentations +:show-thumbnails: true +:show-date: true +:show-kind: true +::: diff --git a/publications.md b/publications.md new file mode 100644 index 0000000..0a2950a --- /dev/null +++ b/publications.md @@ -0,0 +1,12 @@ +--- +title: Publications +description: Publications by the UBC-GIF team +--- + +:::{cn:articles} +:venue: appliedgeophysics +:collection: publications +:show-thumbnails: true +:show-date: true +:show-kind: true +::: From bf3c663d7acd0640a50e4ef9258fe86b72baa2ea Mon Sep 17 00:00:00 2001 From: stevejpurves Date: Tue, 14 May 2024 21:20:36 +0100 Subject: [PATCH 2/2] no toc on linsting pages --- presentations.md | 2 ++ publications.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/presentations.md b/presentations.md index 50dd5f7..7422af8 100644 --- a/presentations.md +++ b/presentations.md @@ -1,6 +1,8 @@ --- title: Presentations description: Presentations by the UBC-GIF team +options: + hide_toc: true --- :::{cn:articles} diff --git a/publications.md b/publications.md index 0a2950a..62228b5 100644 --- a/publications.md +++ b/publications.md @@ -1,6 +1,8 @@ --- title: Publications description: Publications by the UBC-GIF team +options: + hide_toc: true --- :::{cn:articles}