yaml-front-matter Questions
2
Solved
I am trying to use the remarkjs ecosystem to parse a file containing markdown and frontmatter, and turn it into HTML. The file could look something like this:
---
title: Title
---
# This is a head...
Antifebrile asked 20/10, 2022 at 19:54
2
Solved
I would like to use YAML front matter as a metadata holder for a general purpose data manager, e.g.:
---
layout: "user"
title: "Mario Brega"
slug: "mario-brega"
skills:
- fire
- water
- leaf
--...
Ruche asked 8/1, 2015 at 11:12
2
Solved
What I'm trying to do
Jekyll can use front matter variables like tags and categories and access them with site.tags and site.categories to iterate over them using liquid.
Now my problem is that I c...
Forethoughtful asked 8/8, 2018 at 10:19
2
Solved
Trying to setup pagination with data, where {{ title }} in <head><title>{{ title }}</title></head> is the title of the current page as defined in projects.json
Assumed this ...
Fitful asked 8/4, 2020 at 17:54
2
Solved
In my front matter for some pages (not all) I have:
---
top-navigation:
order: 2
---
Using liquid I want to filter all site pages which have a top-navigation object and sort by top-navigation.o...
Huehuebner asked 9/8, 2017 at 10:48
1
Solved
I'm trying to build a Type in my gatsby-node.js file that supports an optional value. Which I think is done with [String!]!.
How can I load the new Type that I've created inside gatsby-node.js on ...
Diffuse asked 18/2, 2020 at 20:35
2
Solved
I am building a website using Gatsbyjs and NetlifyCMS. I've started using this starter https://github.com/AustinGreen/gatsby-starter-netlify-cms, and I am trying to customise it now.
I want to use...
Vermiculate asked 18/1, 2018 at 20:8
2
I am new to Jekyll and would like to create additional variables in a Post Frontmatter:
style:
name: post
img: image_name
When I try to use a variable like title it works
{% page.title %}
Bu...
Pennebaker asked 15/4, 2016 at 17:29
2
Solved
I'm working on adding some simple Markdown processing to my Gulp process, but I can't quite get the pieces to work together. I seem to be missing the step between getting the front matter content, ...
Remission asked 27/9, 2015 at 16:18
2
Solved
I'm using jekyll and github pages. I'm currently busy with new post and it's not finished yet. I'm working from different places, that's why I need to push my changes to github. I created new post ...
Trescott asked 20/1, 2013 at 18:56
1
© 2022 - 2024 — McMap. All rights reserved.