Comments (7)
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.
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.
You could use Gulp to achieve something similar to the Jekyll-Assets plugin, @nielsenramon.
from chalk.
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.
UPD: Looks like I have published that work already. Here: https://rubygems.org/gems/jekyll-theme-chalk
from chalk.
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.
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)
- Multi-language reading time estimate
- Setup not working on MacOS HOT 1
- Disable Google Analytics in Dev Mode
- .pdf files don't generate as assets HOT 1
- Failed to publish correctly / Stylesheets ... etc missing HOT 1
- Unable to configure scss
- YouTube handle issue
- Error on `npm run publish`
- Can someone ELI5 adding svg icon (and associated link) into header-nav? HOT 1
- htmlproofer 3.17.2 | Error: HTML-Proofer found 167 failures!
- Jekyll server not updating and crashing on exit (Windows) HOT 1
- [error] on sudo npm run local
- Error deploying docs (imcompatible character encodings) HOT 1
- (MacOS Big Sur) - Error: Could not find or load main class install HOT 3
- How do I change the title?
- [Information] Running Chalk on Windows HOT 3
- publish: false files are deleted after npm run publish
- bash bin/deploy on Windows: "bin/deploy: line 19: bundle: command not found"
- Pagination link needs double tap to work on iOS
- Could you explain how to deploy without command line?
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 chalk.