Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Static Site Generator #1

Closed
patrickdavey opened this issue Apr 18, 2015 · 3 comments
Closed

Static Site Generator #1

patrickdavey opened this issue Apr 18, 2015 · 3 comments

Comments

@patrickdavey
Copy link
Owner

Thinking about it, making either a separate binary, or at least an option to allow users to simply say "generate the static site for me" would be a better way to go. It could optionally plug into vimwikiAllToHTML but that would require a code change on vimwiki's side.

Just need to pass a config of the template, site_dir, and then assume ? that any markdown files which are in the wiki directory should be turned into html files.

Really is the cleanest way of doing things I think.

@RidaAyed
Copy link

@patrickdavey I'm interested in your thoughts considering the vast amount of static generators today. Would you rather have a filewatching static website generator e.g. Hugo these days instead of using vimwikis export2html at all? Looking forward to learn from your experience

@patrickdavey
Copy link
Owner Author

Hi @RidaAyed , great question. As you can see, I've pretty much done nothing about this one since 2015 ;) . I had a quick look at hugo, it does look nice. I'd also not seen the isso commenting system. Quite tempted to play around with it now, as I really don't like the idea of using disqus at all.

Hugo does sound good. It'd be a question of ensuring it can convert the [[wiki]] style links correctly, which I assume could be added in somehow. There are a few directives you can pass in %title etc. which hugo would need to understand too.

I guess it comes down to: do you want to use this gem and configure that, or, install hugo and tweak it until it works. I suspect hugo is the nicer solution overall, but, it's probably more work to get it setup.

If you do take the time to write up how to configure hugo to work with vimwiki, I'd be totally happy to put up a link etc.

@patrickdavey
Copy link
Owner Author

No, this isn't a static site generator (well, any more than it is already)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants