Skip to content Skip to footer

Page metadata

In order to render the website, each markdown file contains a specific frontmatter/metadata section. This section is located at the top of the markdown file, is delimited by two times --- and contains all key value pairs. This can be seen as settings on pagelevel to enable/disable certain page functions are to deliver extra information which can be displayed in a structured way. An example of how this can look like:

---
title: Title of the page
---

Possible metadata attributes of a page

  • title: Specify here the title of the page. This wil be the H1 title (replacing the top level title using the # in markdown )

  • summary: Using this attribute it is possible to specify a summary which will be displayed under the title of the page. This summary will also be used as description of your page when the page is tagged.

  • description: Short sentence about the page starting with a lowercase. This sentence is visualized when pages are automatically listed using a tag.

  • contributors: list here all the contributors that helped in establishing the page. This will be the full name of the person. Make sure that the person name that is listed can be found in the CONTRIBUTORS.yaml file in the _data directory if you want to link the github id and other contact information.

  • search_exclude: by setting this field true, the page will not end up in the search results of the searchbar. By default this is false.

  • sitemap: let the page appear in the sitemap.xml. Default: true

  • no_robots: by setting this field to true, the page will not end up in the search results of google or any other search engine.

  • hide_sidebar: When true, the sidebar will be hided. Default: false

  • custom_editme: This attribute can be used to specify an alternative file/link when clicked on the edit-me button

  • keywords: List here all the keywords that can be used to find the page using the searchbox in the right upper corner of the page, lowercase.

  • sidebar: Specify here an alternative sidebar. Default: main

  • toc: When set to false, the table of contents in the beginning of the page will not be generated.

  • page_id: Unique identifier of a page. It is usually a shortened version of the page name or title in snake-case: lowercase and underscores. Used to list Related pages.

  • datatable: use this attribute to activate the pagination + sorting + searching in tables

  • related_pages: List here the page_id of Infectious Diseases Toolkit pages that you want to display as Related pages, grouped by section.

    If you want pages from the specific section (Pathogen characterisation, Socioeconomic data, Human biomolecular data, Human clinical and health data, showcase) to be shown here as Related pages, list their page_id. If you want to list multiple related pages, make sure to put them in a list like this: [page_id1, page_id2]. The specific sections allowed in each page are specified in each page template. Please, do not add extra sections in the metadata of the page. If you do not want to add any related pages at the time, just create/leave it as an empty list e.g. showcase: []

    related_pages: 
     - showcase: [page_id1, page_id2]
    

More information

  • training: List here training material relevant for the page. We recommend to add your training material in TeSS. However, you can also list here training material that is not yet present in TeSS.

    training:
      - name: Training in TeSS
        registry: TeSS
        url: https://tess.elixir-europe.org/search?q=data%20analysis
    
      - name: Training in X
        registry: 
        url: example_url
    

Tools and resources

The main tools are described in the mains tools and resources table. How to add a tool are resource can be read here. Using the page metadata attributes to describe tools is only used in national resource pages. We support two types:

  • ref_to_main_resources: Refer to entries of the “main_tool_ and_resource_table” if institutions, organizations and projects from the country contribute to the development of international tools and resources. List the nme of the tool your refer to in the main tools table.

    ref_to_main_resources: 
      -  Resource name
    
  • national_resources: List here tools and resources mainly relevant for the specific country

    national_resources: 
      - name: Resource name
        description: A general description about the resource
        how_to_access: explantation on how you can access this resource
        instance_of: GitHub
        related_pages:
          example_pages: [gp3, gp1, gp2]
        registry:
          biotools: bioconda
          tess: Bioconda
        url: