Arthur Camberlein >> SEO & Data articles >> My headers on the Gastby CMS: how do I configure them!

My headers on the Gastby CMS: how do I configure them!

Written by Arthur Camberlein | Published on & updated on

Let's start by saying that In this post I will talk about HTML headers and not talking about HTTP headers!

Non-technical blog posted

This blog post will not be technical ... unless pushing your blog updates thanks to git and using headless CMS is technical.

Yes, yes, I am playing on words tomatoes Vs. tomatoes and yes it's a bit technical, but if you are here (), it's because you -- at least -- got a little interest for technical stuff.

How to do your headers with Gastby CMS?

This is my tip, and it might change depending on your theme and you server. What I use is:

    ---
    title: {title-tag}
    date: {YYYY-MM-DD}
    description: "{meta-tag}"
    tags:
    - {tag1}
    - {tag2}
    banner: ./{banner}.jpg
    ---

Usually this header are a great addition to the existing what markdown is created and displayed. In my case this is the header for all my articles (under index.md file); where {} are standing for variables.

What do you think? Do you use something similar (or different)?

Retour au blog

En savoir plus avec l'article FAQ

My headers on the Gastby CMS: how do I configure them! - FAQ

Blog post taggued in: 

Written by