【发布时间】:2019-09-15 11:55:00
【问题描述】:
使用 hugo-geo theme 和 RStudio,我在 Netlify 上构建了一个 website。我的代码在 GitHub (https://github.com/kathryn2/Website) 上。
我遇到的问题:初始页面效果很好。左窗格上的超链接都按预期工作。从左窗格中选择单个帖子时(例如,https://k22daugherty.netlify.com/post/how-heavily-armed-is-your-state/),格式完全是废话。就好像没有主题,网站不知道该做什么。我尝试查看是否缺少编织降价页面,当我这样做时,我会收到无法找到图像的错误。这是我第一次尝试使用 Rmarkdown(尽管我已经习惯了使用 Python 的 JupyterNotebook),所以任何明显的修复都值得一提。
任何帮助表示赞赏!
【问题讨论】:
-
确切的错误信息是什么?你能在发生这个错误的地方放一个 rmarkdown 块吗?
-
缺乏编织是什么导致主题无法延续?图片正在显示,所以我认为的问题是主题不一致。
-
这是我得到的输出:处理文件:2016-12-17-how-heavily-armed-is-your-state.Rmd |............. ..................................................... ..| 100%没有R代码的普通文本
-
输出文件:2016-12-17-how-heavily-armed-is-your-state.knit.md /Applications/RStudio.app/Contents/MacOS/pandoc/pandoc +RTS -K512m -RTS 2016-12-17-how-heavily-armed-is-your-state.utf8.md --to html4 --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash --output 2016-12-17-how-heavily- armed-is-your-state.html --smart --email-obfuscation none --self-contained --standalone --section-divs --template
-
/Users/kathryn_daugherty/Library/R/3.5/library/rmarkdown/rmd/h/default.html --no-highlight --variable highlightjs=1 --variable 'theme:bootstrap' - -include-in-header /var/folders/gb/t5w_mwv15mv1rqgt0c4n0m500000gn/T//Rtmpg23VDM/rmarkdown-str1e676a4a20ac.html --mathjax --variable 'mathjax-url:mathjax.rstudio.com/latest/…' pandoc: 无法获取 /post/2016- 12-17-如何高度武装-是-你的-state_files/Firearms_Data_KAD.png