-
Notifications
You must be signed in to change notification settings - Fork 1
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
Switch blog to hugo / blogdown #2
Comments
What about using (That said, if you want to set it in |
I guess, the info is all out there and well explained. |
R markdown and even highlighted code chunks aren’t supported (by default) with Jekyll. blogdown now exists and takes care of rendering R markdown to markdown locally and automatically. By default, blogdown works with Hugo. I recently switched my website from Jekyll to Hugo/blogdown. Should be very easy in this case since I don’t think we care about translating the theme — just the content. With the current set up it’s definitely a bit of a pain to include highlighted code let alone render R output.
|
I see. I write in emacs org mode with my own css file, so my syntax highlighting is already embedded in the html I push to GitHub. So I didn't realize that about Jekyll. |
Hi Sean. Better late than never... 😛 I just learnt how to use Hugo and am in the middle of building my website with it. Since I am deep in this, I am now happy to take on this task (unless you are now using another website engine and your recommendations on what to use have changed. I am very happy with Hugo so far, but feel free to throw advice of course if you have moved on to something else that you like more). I am deploying my website on netlify, which I find a lot nicer than github pages and which plays extremely well with Hugo. So I plan on doing the same for Stats Beerz, unless you object. I think that I need to be one of the owners of Stats Beerz to set it up. Would you consider adding me to that list? (unless you have an issue with this of course). I am currently external collaborator which only gives me partial permissions. |
Oops. Just saw that. Netlify is really much nicer to play with. Super easy to deploy from master while allowing to test locally before deployment, site is deployed instantly as soon as you push, no need to delete /public before redeploying (and no git micmac), etc. Even Yihui Xie swears by it. And netlify allows redirects so I can set one up from the old url. |
Got an email from Pascale. No pressure if you don't want to move to netlify. I first deployed my Hugo-powered website to Github pages, then read this blog from Yihui Xie https://yihui.name/en/2017/06/netlify-instead-of-github-pages/, and several posts from others, tried netlify and thought that it was an absolute breathe and much nicer/simpler/easier. And since the old url would keep working with the redirect, I thought that it'd be a good idea. But I am of course open to objections! And if your own website is on Github pages and that you are happy with the workflow pushing commits to the site, I am open to learning from you. Yihui Xie's post may not be up to date anymore. I did find that pushing to the Github pages was certainly quite tedious when I first set up my site this way (set up is more complex, have to write a script to delete /public before redeploying, etc.). Netlify is utterly easy: you push to Github and it deploys the site instantly. You can also very easily test your site locally before pushing. |
Should be fairly quick and easy. Would make posting code much easier. Probably best to keep hosting on GitHub to maintain same URL. Happy to help someone with this.
The text was updated successfully, but these errors were encountered: