https://github.com/jpcaruana/frontmatter_switcher
Switch unordered "hugo"-like frontmatter to a more ordered "zola"-like one.
https://github.com/jpcaruana/frontmatter_switcher
hugo mardown zola
Last synced: 6 months ago
JSON representation
Switch unordered "hugo"-like frontmatter to a more ordered "zola"-like one.
- Host: GitHub
- URL: https://github.com/jpcaruana/frontmatter_switcher
- Owner: jpcaruana
- Created: 2023-01-28T10:50:18.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-03-03T08:10:55.000Z (7 months ago)
- Last Synced: 2025-03-03T09:23:56.928Z (7 months ago)
- Topics: hugo, mardown, zola
- Language: Python
- Homepage:
- Size: 15.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Frontmatter switcher
Switch unordered "[hugo](https://gohugo.io/)"-like frontmatter to a more ordered "[zola](https://www.getzola.org/)"-like one.
Before:
```toml
+++
date = 2020-09-08T16:18:51+02:00
title = "Lire le cycle de l'Assassin Royal, c'est compliqué"
tags = ["livre", "other"]
categories = ["cat1", "cat2"]
twitter = "https://twitter.com/jpcaruana/status/1303356472705921026"
+++
```After:
```toml
+++
date = 2020-09-08T16:18:51+02:00
title = "Lire le cycle de l'Assassin Royal, c'est compliqué"[taxonomies]
tags = ["livre", "other"]
categories = ["cat1", "cat2"][extra]
twitter = "https://twitter.com/jpcaruana/status/1303356472705921026"
+++
```