Added set lastmod date command

This commit is contained in:
Michael Fasani
2020-08-24 00:45:28 +02:00
parent f0bfffede4
commit b45cd283bc
5 changed files with 69 additions and 19 deletions
+6 -1
View File
@@ -3,7 +3,7 @@
"displayName": "Front Matter",
"description": "Simplifies working with front matter of your articles. Useful extension when you are using a static site generator like: Hugo, Jekyll, Hexo, NextJs, Gatsby, and many more...",
"icon": "assets/front-matter.png",
"version": "1.3.0",
"version": "1.4.0",
"preview": false,
"publisher": "eliostruyf",
"galleryBanner": {
@@ -45,6 +45,7 @@
"onCommand:frontMatter.exportTaxonomy",
"onCommand:frontMatter.remap",
"onCommand:frontMatter.setDate",
"onCommand:frontMatter.setLastModifiedDate",
"onCommand:frontMatter.generateSlug"
],
"main": "./dist/extension",
@@ -125,6 +126,10 @@
"command": "frontMatter.setDate",
"title": "Front Matter: Set current date"
},
{
"command": "frontMatter.setLastModifiedDate",
"title": "Front Matter: Set lastmod date"
},
{
"command": "frontMatter.generateSlug",
"title": "Front Matter: Generate slug based on article title"