Revert slug change
This commit is contained in:
parent
ec5d7296dc
commit
71ed28b3f2
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@endeavorance/hammerstone",
|
||||
"version": "0.1.2",
|
||||
"version": "0.1.3",
|
||||
"description": "Load and manipulate Obsidian vault data",
|
||||
"type": "module",
|
||||
"exports": "./bin/hammerstone.js",
|
||||
|
|
|
@ -61,7 +61,7 @@ export default class MarkdownDocument {
|
|||
this.dirname = path.relative(vaultPath, fileDirname);
|
||||
this.taxonomy = this.dirname.split(path.sep);
|
||||
this.filename = path.basename(filePath, ".md");
|
||||
this.slug = slug(`${this.taxonomy.join("-")}-${this.filename}`);
|
||||
this.slug = slug(this.filename);
|
||||
this._content = rawFileContent;
|
||||
this.contentHistory = [rawFileContent];
|
||||
this._frontmatter = frontmatter;
|
||||
|
|
Loading…
Reference in a new issue