Comments (9)
Sorry, I cannot help without a reproducible example, but at least you should ignore Thumbs.db
by adding it to ignoreFiles
in config.toml
:
ignoreFiles = [ "^Thumbs\\.db$" ]
from blogdown.
Incorporating your suggestion made no difference. i.e error still occurs and folders and files do not get created under public/post
Not sure how to provide a reproducible example. Here is my eplBook.Rmd file
Until there is a solution. can I just manually create the eplBook folder and files directories and add the created html and any figs to them??
BTW as per image, how would I add a post ot more than one category e.g 'books' and 'dashboards'
from blogdown.
To provide a reproducible example, you can zip the website and upload here, or create a Github repo. The public
should not be edited manually. Changes could be overwritten in the future.
For more categories, use ["books", "dashboards"]
. That is YAML syntax. More examples here: https://bookdown.org/yihui/bookdown/r-markdown.html
from blogdown.
@yihui
Thanks for this. Here is the zipped file of the site
mainWebSite.zip
Everything works smoothly up to and inc 27th Nov post. so eplBook (which has just a title) and exploratoryAnalysis (which includes a notebook) do not appear in public folder when I serve_site(). Incidentally, I have to do latter. I had thought just saving the file activated this or there was a build buttton in RStudio to do it but I could well be mistaken
Also I set up git locally but cannot commit to it. There is (No branch) instead of the usual Master when i I view the review changes. Could this be part of the same problem?
from blogdown.
I'm not sure if it is a Hugo bug, but I'd suggest you delete the Thumbs.db files. First take a look at
list.files('.', '^Thumbs[.]db$', recursive = T, full.names = T)
If none of them seems to be useful (typically they are just Windows garbage), you can unlink()
them.
I compiled your website on Mac and it works fine for me:
from blogdown.
Thanks for that. I also changed a setting in Windows so hopefully they do recur
Incidentally, did you actually view the website in Mac. The exploratoryAnalysis page shows as a simple page for me i.e no Hugo stuff wrapping it. This happened even when I removed the output: html_notebook
I had experimented with
If you get same error I can raise as separate issue
from blogdown.
The exploratory analysis page looks okay to me:
from blogdown.
I feel I might have misled you somehow by having picked up a fairly complicated Hugo theme (hugo-future-imperfect) as the default in new_site()
. Now I have changed the default and used a much simpler theme (hugo-lithium-theme). You can still use hugo-future-imperfect, but I think you will have to read the Hugo documentation a few times as well as the blogdown documentation, which does not exist yet (I'm working on it).
from blogdown.
FYI an update
I had a look at the index.html file for that post and it had
<meta name="generator" content="pandoc" />
and was extremely large.
All the others were
meta name="generator" content="Hugo 0.17" />
I updated to 0.0.11 (from 0.0.8) and got rid of the nb.html file that was around and for a while that seemed to solve issue.
However, as soon as I started attempting any changes and/or getting rid of unwanted posts I ended up with only three of seven posts appearing and a config.toml file of 6.8kb mainly made of whitespace. I will take your advice and use a simpler theme at least for now and see if that sorts my problems
from blogdown.
Related Issues (20)
- Cannot start new post HOT 1
- For error `could not find function "parser"`: fail more gracefully HOT 3
- Issue with site formatting with blogdown::build_site(). HOT 3
- Unable to serve site after updates HOT 6
- modelDown::modelDown() deleted all files in my output folder??!! HOT 1
- Home directory does not exist in HUGO academic-theme HOT 1
- Upkeep for blogdown
- Rmd files rendering with formatting issues HOT 7
- blogdown:::new_post_addin() should check for hugo first HOT 1
- Blogdown donβt supports multiple-column rmarkdown HOT 8
- Unable to create new posts HOT 2
- Missing website menu bar buttons when using blogdown to render web pages HOT 3
- Wrong relative links on the pkgdown site HOT 2
- allow use of hugo.toml for config [FR] HOT 3
- Error building site with hugo-apero theme HOT 5
- Build site with updated Hugo HOT 2
- shortcode doesn't display with leaflet map in the same post HOT 4
- Rmd - interactive map with tmap does not display HOT 5
- trialblogdown HOT 1
- Blogdown starting error and rmd render not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blogdown.