• 3 Posts
  • 5 Comments
Joined 1 year ago
cake
Cake day: November 21st, 2023

help-circle

  • Ideally I’d like to avoid a script because my experience is they aren’t very durable. I make mistakes and they are difficult to troubleshoot. So I am trying to just use the tools that are already available in the system.

    But maybe there is something in the idea of using a second mount, like if

    • /home/user/folderApple is always empty
    • /home/user/folderApple-original mounts ontop of /home/user/folderApple at boot
    • then /mnt/drive/folderBanana also mounts ontop of /home/user/folderApple when/if it becomes available (later in the order)




  • You can tell hugo to build from an arbitrary directory of markdown in the config file. Then it’ll just do it’s best. I have done this experimentally on completely un-optimized obsidian vaults for just my own local use. IIRC there are some mandatory frontmatter elements that hugo requires (date, draft status, and/or title? consult the docs) which will prevent a file from appearing at all if they are missing. Depending how vigilant you are with that kind of thing you can get a more or less janky site straight away.

    There are also some plugins, bash scripts etc around that will assist in this. In tidying up the files, selecting which ones to publish, mirroring to another directory etc. I have had mixed success personally, but my vaults are sprawling, badly organized and the frontmatter is often a mess which is all on me. Someone who is less/differently negligent would have different luck. I can provide some links to relevant projects if anyone is interested.