easy-hugo 设定basedir路径,不显示content/post子目录中的md文件

hugo目录结构:~/iNotes/content/post

截屏2021-06-22 下午2.58.21

使用easy-hugo管理hugo目录:

(use-package! easy-hugo
  :custom
  (easy-hugo-basedir "~/iNotes/")
  )

你看一下 easy-hugo-postdir 这个变量?

恩,尝试了,设定这个变量也不能加载子目录的文件。

easy-hugo 提供了导向其他目录的快捷键,用起来也比较方便: 进入Insert模式下,通过以下几个键,导向目录:

   , .. Pre postdir      . .. Next postdir
  / .. Select postdir