GenderDysphoria.fyi/gulp/_template.js
Jocelyn Badgley (Twipped) 1c45fdaf33 Initial site commit
2020-02-20 14:38:25 -08:00

13 lines
238 B
JavaScript

const format = require('date-fns/format');
module.exports = exports = ({ id, date }) => `---
id: "${id}"
date: "${date.toISOString()}"
title: ""
description: "Outfit of the Day for ${format(date, 'MMM do, yyyy')}"
tags:
- OOTD
---
`;