Skip to content
Snippets Groups Projects
Commit 18c1f872 authored by Simona Doneva's avatar Simona Doneva
Browse files

update readme for events example

parent ecd9e6e4
No related branches found
No related tags found
No related merge requests found
Pipeline #326756 passed
......@@ -88,12 +88,12 @@ page-layout: full
toc: false
---
```
Here’s a breakdown of new elements:
Here’s a breakdown of the new elements:
- **listing**:
- id: listing id, which one can use to reference this list outside of the YAML block.
- type: Sets the layout type for the content, which is a grid layout.
- grid-columns: Specifies that the grid should have 4 colum[ns.
- template: Points to a template file (research-areas.ejs) that defines how each element in the grid should be disp]()layed.
- template: Points to a template file ([research-areas.ejs](quarto_docs%2F_ejs%2Fresearch-areas.ejs)) that defines how each element in the grid should be displayed.
- **toc**: table of contents is set to false
Additionally, multiple lists with distinct conditions can be defined. For instance, in the example below,
......@@ -119,7 +119,31 @@ listing:
page-layout: full
---
```
The "event_status" field must be specified in the YAML section of the .qmd files for the individual events within the respective subfolders.
The "event_status" field must be specified in the YAML section of the .qmd files for the individual events within the respective subfolders.
Here is an example of the .qmd file for one event, including the embedding of a PDF flyer:
``````
---
title: "STRIDE-Lab & Norecopa Summer School"
description: "Systematic reviews of animal studies for evidence-based preclinical research."
alias: &ALIAS translation
event_date: "20-23 August 2024"
event_status: "active"
image: featured_active.png
toc: false
---
## Related Information
```{=html}
<object data="flyer.pdf" type="application/pdf" width="100%" height="100%" style="min-height:100vh;">
<p>It appears you don't have a PDF plugin for this browser.
No biggie... you can <a href="flyer.pdf">click here to
download the PDF file.</a></p>
</object>
```
``````
The lists can be then invoked using the "#"-sign follows:
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment