{"id":19574336,"url":"https://github.com/straticjs/stratic-date-in-path","last_synced_at":"2026-05-15T12:02:18.823Z","repository":{"id":57371915,"uuid":"59802618","full_name":"straticjs/stratic-date-in-path","owner":"straticjs","description":"Gulp plugin to take a Vinyl file with Stratic post information and make the path include the year and month","archived":false,"fork":false,"pushed_at":"2018-12-17T06:23:24.000Z","size":40,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-26T16:45:41.864Z","etag":null,"topics":["gulp","gulp-plugin","hacktoberfest","javascript","stratic"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/straticjs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-27T03:55:35.000Z","updated_at":"2021-10-07T17:00:44.000Z","dependencies_parsed_at":"2022-09-07T18:10:28.491Z","dependency_job_id":null,"html_url":"https://github.com/straticjs/stratic-date-in-path","commit_stats":null,"previous_names":["strugee/stratic-date-in-path"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/straticjs%2Fstratic-date-in-path","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/straticjs%2Fstratic-date-in-path/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/straticjs%2Fstratic-date-in-path/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/straticjs%2Fstratic-date-in-path/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/straticjs","download_url":"https://codeload.github.com/straticjs/stratic-date-in-path/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240840106,"owners_count":19866168,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gulp","gulp-plugin","hacktoberfest","javascript","stratic"],"created_at":"2024-11-11T06:40:08.240Z","updated_at":"2026-05-15T12:02:18.694Z","avatar_url":"https://github.com/straticjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `stratic-date-in-path`\n\n[Gulp][1] plugin to take a Vinyl file with [Stratic][2] post information (for example, something that's had YAML frontmatter parsed with [`gulp-gray-matter`][3]) and make the file path include the year and month, as is typical in blog engines.\n\n## Installation\n\n    npm install stratic-date-in-path\n\n## Usage\n\n`gulpfile.js`:\n\n```js\nvar gulp = require('gulp')\nvar frontMatter = require('gulp-gray-matter');\nvar straticDateInPath = require('stratic-date-in-path');\n\ngulp.task('posts', function() {\n    gulp.src('*.md')\n        .pipe(frontMatter())\n        .pipe(straticDateInPath());\n});\n```\n\nEach file's path now contains the year and month. For example, `hello-world.md` might be changed to `/2016/01/hello-world.md`.\n\n## Code of Conduct\n\nPlease note that StraticJS is developed under the [Contributor Covenant][4] Code of Conduct. Project contributors are expected to respect these terms.\n\nFor the full Code of Conduct, see [CODE_OF_CONDUCT.md][5]. Violations may be reported to \u003calex@strugee.net\u003e.\n\n## License\n\nLGPL 3.0+\n\n## Author\n\nAJ Jordan \u003calex@strugee.net\u003e\n\n [1]: http://gulpjs.com/\n [2]: https://github.com/straticjs/generator-stratic\n [3]: https://npmjs.com/package/gulp-gray-matter\n [4]: http://contributor-covenant.org/\n [5]: https://github.com/straticjs/stratic-date-in-path/blob/master/CODE_OF_CONDUCT.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstraticjs%2Fstratic-date-in-path","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstraticjs%2Fstratic-date-in-path","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstraticjs%2Fstratic-date-in-path/lists"}