Code Monkey home page Code Monkey logo

Comments (7)

whoyawn avatar whoyawn commented on July 28, 2024 3

Deploying Chalk took me a few hours mostly because I couldn't understand the instructions on the README. My case was a little different and this is only the second time I've been working with Jekyll so I expected everything to work as all the default Jekyll installations. Perhaps option 2 with maybe an FAQ or something more expansive on the original so users who don't really understand anything can know what to do?

from chalk.

HazelGrant avatar HazelGrant commented on July 28, 2024 3

Hi,

I struggled to deploy Chalk, and ended up having to rearrange how I was doing things in a way that's not mentioned in your README.

I have my repository named 'WendyBeth.github.io'. In order to deploy to your user page, you have to use the master branch. I struggled with this quite a bit, because running the deploy script forced the deploy to gh-pages. I could change my repo's name and then see my blog, but it a) didn't port in any assets, and b) kept linking to posts as if the namespace of my blog's repo did not exist. So if I clicked on a post title from 'WendyBeth.github.io/blog', it redirected me to 'WendyBeth.github.io/posts/post-title' instead of 'WendyBeth.github.io/blog/posts/post-title', which of course did not exist.

What I ended up having to do was create a different default branch - I called it develop - and then change the deploy script to write everything post-processing to master. See here.

I don't think you need to get rid of jekyll-assets - that's actually a really cool addition to this theme and is one of the reasons (other than the beautiful font choices) I chose it. Fleshing out the deploy section of the README to make it explicit what to do if 1) I want to host this blog as my user page (at username.github.io) or 2) I want to host this blog on it's own page (at username.github.io/blogname) so that the posts and all internal links are aware of the namespace, would help. If there's something I completely missed, adding that to the README would be ideal.

All that said, I love this theme and couldn't be happier with it. 💯

from chalk.

migueldemoura avatar migueldemoura commented on July 28, 2024

You could use Gulp to achieve something similar to the Jekyll-Assets plugin, @nielsenramon.

from chalk.

ptsurbeleu avatar ptsurbeleu commented on July 28, 2024

Folks, I have been working on something alike (haven't published it yet), to be foolproof and make it easier to start with comes at an expense of flexibility (as @nielsenramon mentioned).

It could be an option to maintain two flavors of the theme - starter (get started in no time) and expert (can be bent to your will but you need to be familiar with its internals).

Humans aren't good at maintaining in the long run but automation actually excels at that, so automating it could be a way to go.

from chalk.

ptsurbeleu avatar ptsurbeleu commented on July 28, 2024

UPD: Looks like I have published that work already. Here: https://rubygems.org/gems/jekyll-theme-chalk

from chalk.

nielsenramon avatar nielsenramon commented on July 28, 2024

Decided not to port this theme to a default Jekyll project. Jekyll-assets comes with too many benefits right now. People are using Chalk because of all the custom stuff we've added anyway!

from chalk.

Joli-ta avatar Joli-ta commented on July 28, 2024

Could you create a port to a default Pages theme, without the jekyll-assets? I like how clean it looks, and there is plenty of customization without the assets, don't you think?

from chalk.

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.