GenderDysphoria.fyi/gulp/_template.js

13 lines
238 B
JavaScript
Raw Normal View History

2020-02-20 14:38:25 -08:00
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
---
`;