Replies: 1 comment
-
|
Basically what I did was: cd ~/projects/blog.RichieBartlett.com
ln -s ~/projects/blog.RichieBartlett.com/scaffolds ./.frontmatter/templates This created the soft link to the folder. This way, I can create new scaffolds for Hexo and still use them in FM. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
As Hexo comes with a set of templates OOTB, it would be great for FM could create soft-links to them in the filesystem. This way, if the user updates the scaffold, it is automatically reflected in FM's templates. Soft-links work on MacOS and linux. I'm not sure if the latest version of Windows support it. Looks like it does - symlinks.
Hexo folder structure:
Reference
Beta Was this translation helpful? Give feedback.
All reactions