Comments (5)
Are you using the demo code from the repo? There isn't a main.scss in there? You need to use the demo directory for reference, or the readme.md
from garth.
Heh, that was hard :) Finally I found the problem -- I created css/styles.css file, not scss. Tough to spot, it seems that brain filters out small difference. Thank you for pointing out to demo directory.
BTW, somehow your demo subdir works okay after git checkout wihout any modifications, but if I try to make a new directory from scratch with jekyll new I have to do several extra steps in addition to your instruction -- add gem "garth-jekyll-theme" to Gemfile and run bundle, otherwise adding theme: garth-jekyll-theme does not work:
jekyll 3.2.0 | Error: The garth-jekyll-theme theme could not be found.
Also I have to remove css/main.scss file and remove some links from about.md.
from garth.
Hmm, just to check are you installing the theme properly using gem install garth-jekyll-theme theme
?
Theming in Jekyll is in it's very early stages, so there are quite a few limitations to using it. This project is a proof of concept as well as an open source one 😄
from garth.
Hmm, just to check are you installing the theme properly using gem install garth-jekyll-theme theme?
Yes.
I poked around and found that problem is caused by the very existence of Gemfile (jekyll new creates one by default). If I remove Gemfile then there is no need to add gem "garth-jekyll-theme" to it. That's why your demo directory works.
Theming in Jekyll is in it's very early stages, so there are quite a few limitations to using it. This project is a proof of concept as well as an open source one 😄
I remember playing with Jekyll several years ago and rejecting it because there was no theme changing, you had to stick with something from the beginning. Recently I saw something promising in 3.2.0, but still theming is not easy from user's point of view: I see no sense in messing with additional javascript and css files, etc if I apply standard packaged theme. Either these files must be installed automagically with some theme switch command (with previous theme's files purged to avoid various cryptic errors), or themes should not rely on any extra files in user directory at all (this would be the best solution).
from garth.
Ok, well I've removed some of the gem specific stuff. I'm hoping that means it won't kick up a fuss with the Gemfile.
I realise that Jekyll theming isn't up to scratch. However this is the very first iteration of it, so don't expect this version to have all the bells and whistles.
I'm going to close this as the theme is working, if the Gemfile is an issue I'll deal with it in another Issue. 👍
from garth.
Related Issues (15)
- "kicking the tires" issues HOT 12
- Better CSS file structure
- Account for multiple categories
- Remove demo code
- Allow use of baseurl
- Remove unnecessary title and alt attributes
- Add support for separate favicons HOT 4
- Cannot customize colors HOT 4
- Navigation missing
- Testimonial Submissions
- Provide a example site for reference HOT 1
- Give a default footer
- Test fonts and weights
- Your theme is listed in jekyllthemes.ru 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 garth.