The YAML headers are necessary to process the Markdown (or HTML) files in the page collections. The Progenetix Jekyll template uses standard Jekyll headers, but also adds some additional parameters.
A minimal header contains at least the layout information:
layout: default
However, most pages make use of multiple parameters. Example:
---
title: "Federated discovery and sharing of genomic data using Beacons"
date: 2019-01-23
layout: default
author: "@mbaudis"
excerpt_separator: <!--more-->
excerpt_link:
pdf_file_name: '2019-03-04___Fiume-et-al.__Federated-discovery-and-sharing-of-genomic-data-using-Beacons__NatBiotech.pdf'
pdf_file_type: article
www_link:
www_links_formatted:
- '<a href="https://www.ncbi.nlm.nih.gov/pubmed/30833764" target="_BLANK">[PubMed]</a>'
- '<a href="https://www.nature.com/articles/s41587-019-0046-x" target="_BLANK">[Nature Biotechnology]</a>'
- '<a href="https://www.ga4gh.org/news/extensions-to-the-ga4gh-beacon-api-will-enable-a-more-powerful-community-resource/" target="_BLANK">[GA4GH Press Release]</a>'
categories:
- news
- publications
tags:
- article
- FAQ
- documentation
---
title
## Website: Header, Categories, Tags ...
will add the title to the HTML rendering wrapped in <h2>
markupdate
_config.yml
must contain the future: true
directive - or the page will only be processed after the date…layout
author
excerpt_separator: <!--more-->
excerpt_separator
(as a standard here the ` ` HTML comment) will limit the amount of content displayed in the excerpt on the listing page.excerpt_link
progenetix.github.io/progenetix-site-template/
repositorywww_link
www_links_formatted
pdf_file_name
categories
_config.yml
(otherwise not much use …); there, categories are only implicitely defined - as keys in the nav_cat_blocks
of the type “categories” (i.e. below keys of the root attribute “general”):nav_cat_blocks: # comma-separated "label,type,label_visibility"
general: 'General,categories,hide'
related_sites: 'Related Sites,related_sites,show'
github_projects: 'Github Projects,github_projects,show'
general:
news: News
people: Participants
howto: 'Examples, Guides & FAQ'
minutes: 'Meeting minutes'
contact: Contacts
tags
_config.yml
(otherwise not much use …):# Only tags listed here are represented in the tag cloud.
cloud_tags:
- code
- admins
- contacts
- contributors
- developers