Giter Site home page Giter Site logo

Comments (6)

felipetavares avatar felipetavares commented on September 15, 2024

There you go: blog.zip.

I put there:

  • the bakefile;
  • the posts;
  • the html template;

The css/js files are here: css.zip.

from bake.

luckypoem avatar luckypoem commented on September 15, 2024

Hi
I ran bake in blog dir,but the index.html isn't generated ,why?

from bake.

felipetavares avatar felipetavares commented on September 15, 2024

If you look at the bakefile, you'll notice it has a line with output= and a path after that. The path is the path that will be used to write the index.html. For this specific bakefile, I put there the correct path for the ctrl-c.club server, which is of course incorrect for your setup. You need to replace this path with the correct one for your setup, probably just putting output=index.html is the best solution for you.

from bake.

luckypoem avatar luckypoem commented on September 15, 2024

i setup a blog here: http://cccp.bright.biz.st, and i moved the contents of unzipped css.zip to blog dir,but when i visit http://cccp.bright.biz.st ,the site's appearance is not like yours,so the css files doesn't take effect??

from bake.

felipetavares avatar felipetavares commented on September 15, 2024

The contents of css.zip should be in a css folder. This is from your generated index.html file (which is generated from the template):

@import url(css/blog.css);
@import url(css/prism.css);

You can also modify the template to not need the css folder.

from bake.

luckypoem avatar luckypoem commented on September 15, 2024

now it's ok.thanks

from bake.

Related Issues (3)

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.