Skip to content

How to get base directory of hexo from plugin #5181

Discussion options

You must be logged in to vote

Use hexo.base_dir:

this.base_dir = base + sep;

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dimaslanjaka
Comment options

@stevenjoezhang
Comment options

Answer selected by dimaslanjaka
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants