Giter Club home page Giter Club logo

Comments (3)

bob-rietveld avatar bob-rietveld commented on August 26, 2024 1

@mwillumz,

I used the following AWS cloudformation template: https://github.com/alestic/aws-git-backed-static-website to deploy / push updates to AWS (including s3). This allows for a seamless deployment on AWS, including source, back-ups etc right from the comfort of Rstudio. I use the subdirectory plugin(https://github.com/alestic/aws-lambda-codepipeline-site-generator-subdirectory) so only the public folder is made public (source is pushed to code commit).

Perhaps this can be useful for you. Best.

from blogdown.

mwillumz avatar mwillumz commented on August 26, 2024 1

Everything was indeed correct w/ blogdown. This seems to be an ongoing issue with s3tools.

FWIW this seems to be the fix:

library(blogdown)
new_site()
system("s3cmd sync --no-mime-magic --guess-mime-type public/ s3://mybucket")

from blogdown.

yihui avatar yihui commented on August 26, 2024

I think everything is correct on blogdown's side. The problem comes from the fact that your web server didn't return the correct MIME type for the css file. If you open the Developer Tools in Google Chrome, you will see this:

Resource interpreted as Stylesheet but transferred with MIME type text/plain: "http://www.willumz.com/css/main.min.css".

The MIME type should be text/css instead of text/plain. You can google for possible solutions. This is what I found from a quick search: http://stackoverflow.com/q/2618168/559676

from blogdown.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.