blogdown

baseUrls, redirects and rewrites in blogdown

試著忘記壹切 提交于 2019-12-11 14:11:53
问题 Hello blogdown stackoverflow community! I have been recently migrating my personal GitHub/Jekyll blog (https://blogs.nopcode.org/brainstorm) over to Blogdown/Netlify, but I'm a bit confused by the _redirects and config.toml url routing business. I have read in detail the official blogdown and netlify documentations. As well as Yihui's recommendations on good permalink hygiene Unfortunately, no matter how many sensible changes I try (essentially on config.toml and _redirects ), I cannot

blogdown::new_site() bash not found on win7

旧街凉风 提交于 2019-12-11 07:23:54
问题 summary: bash not found on win7 (git bash is available) blogdown::new_site(theme = "yihui/hugo-xmin") Congratulations! Your new Hugo site is created in C:\Users\John\repos\openemr-blog3. Just a few more steps and you're ready to go: Download a theme into the same-named folder. Choose a theme from https://themes.gohugo.io/, or create your own with the "hugo new theme " command. Perhaps you want to add some content. You can add single files with "hugo new \.". Start the built-in live server via

Cannot add tikz code snippet in my .Rmd post using blogdown

允我心安 提交于 2019-12-11 07:05:37
问题 I have just started using blogdown and I have created a project by using template Hugo-Xmin. In RStudio, when creating the project in blogdown, it created some predefined posts, I am editing this one: /content/post/2015-07-23-r-rmarkdown.Rmd Adding a tikz image Following this question and the bookdown documentation on engines, I modified the afore-mentioned file by adding this snippet: This is a tikz picture: ```{r, echo=FALSE, engine='tikz', out.width='90%', fig.ext=if (knitr:::is_latex

Blogdown not able to recognize hugo.exe

百般思念 提交于 2019-12-11 06:28:49
问题 I am a blogdown begginner and I cant't get started due to an issue with what I think is my session unable to use the hugo.exe In RStudio I create a new proyect and in that project I run this code which outputs this: dir.create("Web") setwd("Web") blogdown::new_site() The latest Hugo version is 0.38.2 trying URL 'https://github.com/gohugoio/hugo/releases/download/v0.38.2/hugo_0.38.2_Windows 64bit.zip' length 6164680 bytes (5.9 MB) downloaded 5.9 MB Hugo has been installed to C:\Users\Rod

Control index.xml for Atom/RSS to generate valid rss feed (without relative links)

牧云@^-^@ 提交于 2019-12-11 05:10:01
问题 Task: I want to add an RSS feed to my site. (Later I want to add a separate RSS feed for a specific category [for R Bloggers]) Setup: I use the Hugo Academic template via the R blogdown package push my sources to github https://github.com/Tazinho/AlmostRandom from where it gets published via netlify http://www.malte-grosser.com/ added an example blogpost here http://www.malte-grosser.com/post/test-post/ Issue and validation: According to this video https://www.youtube.com/watch?v=gF0tohv99Ow

Drafts rendered by netlify when draft: true in yaml

让人想犯罪 __ 提交于 2019-12-11 01:47:00
问题 I am running at blogdown site from this github repo hosted by Netlify at https://timmastny.rbind.io/ In website2/content/blog/ I have two posts 2018-01-16-git-blogdown-project-workflow.Rmd and 2018-01-13-bayesian-meta-analysis-powerlifting.Rmd You can see that in the YAML of both posts, I have draft: true and in the second one I even have publishdate: '2018-01-20' which is in the future as of this post. However, with these changes pushed to github and Netlify deployed with a clean cache, on

How to cite using bibtex in blogdown?

▼魔方 西西 提交于 2019-12-10 17:51:23
问题 I would like to use citations on a page of my static website created with the R package blogdown. Based on the book written about blogdown (https://bookdown.org/yihui/blogdown/#) this seems to be possible. However, I do not not know exactly how to set this up. I know how to do this in a rmarkdown file and in a bookdown file, but not in the context of a website created with blogdown. First, I created a new post using the new_post() function in the blogdown package. Second, I added bibliography

Netlify fails to deploy site after public is added to .gitignore

旧街凉风 提交于 2019-12-10 12:08:20
问题 I'm trying to follow the suggestions in the Blogdown book. For a while, I was building my blogdown site locally and then letting Netlify deploy it. I am now reading that I can add my public/ folder to .gitignore , as Hugo should build it on a remote server: The public/ directory should be ignored if your website is to going to be automatically (re)built on a remote server such as Netlify. So, I tried that. I made sure GitHub isn't tracking public/ anymore. What I've done is this. First, I

Issue with updating Hugo blogdown's academic theme folder using git, GitHub desktop

三世轮回 提交于 2019-12-08 10:11:55
问题 Issue I’ve been having some issues with git/GitHub desktop sync issues with Hugo Blogdown theme folder (academic). After renaming/updating, I've a 'missing themes folder'. Once this is fixed, I'll be able to host my Hugo Blogdown website w/ academic theme. If anyone has had similar issues, please advise. Thanks! Environment I work with macOS High Sierra ( v10.13.4 ) and RStudio ( v1.2.616 ) w/ Hugo ( v0.30 ) blogdown ( v0.6.3 ) and the academic theme. Previously raised this issue here GitHub:

blogdown home page not showing toc of posts any more

随声附和 提交于 2019-12-08 04:58:58
问题 I am using blogdown 0.14 with a slightly modified hugo-lithium theme. It seems that the home page of the blog created has changed. It used to be a page with the toc of the posts, not it is a page with a link to a page where this toc is displayed. Is there a way to get back the old behavior? 回答1: That was mentioned an hour ago on twitter: See gohugoio/hugoThemes issue 682 and gohugoio/hugoThemes issue 678 As stated in gohugoio/hugo#6153, Hugo 0.57.0 has a breaking change since now: (Actually,