Comments (4)
The gem doesn't define the theme. The themes are generally defined through the css or sass files that the files in the folders _layouts and/or _includes.
For example, I merged in the differences between one blog theme with my site. It takes a bit of HTML understanding, but it's just a matter of merging in what you want and leaving out the rest.
It usually means some trial and error since not all themes are developed to make the process easy.
from pages-gem.
I see, but the problem is, if I want to use a different theme (like https://github.com/diezcami/arctic-fox-theme/), I would have to manually merge the differences between what's generated by github-pages
gem and what's defined in the theme repository. Is there an easier way to do this?
from pages-gem.
I customized the config.yaml and I removed any unwanted css/sass files. And modified the layout html as I desired. I did all of that before I ran jekyll build to have github-pages to generate the website.
Looking at the example theme you are point to, there is nothing in the config.yaml file to control the theme. Focus on the _includes, _layouts, _sass, css, index.html, and about.md and you should be good.
The way that author is using that site. He takes the contents of https://github.com/diezcami/arctic-fox-theme/ and places in a folder for a normal jekyll website. All the theme's repo is missing is a Gemfile containing the lines telling it to pull down github-pages.
So what you need to do, is fork the theme and ensure it has a Gemfile that contains _at a minimal_:
source 'https://rubygems.org'
gem 'github-pages
Since the theme doesn't include a Gemfile than it doesn't seem to be dependent on any particular ruby code.
from pages-gem.
@Stargator I just did that for qck theme, it's working perfectly. Thanks!
from pages-gem.
Related Issues (20)
- Update docs or dependencies to include installing `webrick` HOT 4
- i18n dependency version conflict preventing activesupport update to fix CVE-2023-22796 HOT 2
- Liquid version on M1 Mac HOT 3
- No syntax highlighting for Dafny HOT 2
- baseurl is rendered as an empty string HOT 1
- Links with titles not handled properly
- <!DOCTYPE html> <html> <body> <h1>Hello World</h1> <p>I'm hosted with GitHub Pages.</p> </body> </html> HOT 2
- Work with latest Ruby 3
- NoMethodError: undefined method `inflate' for Gem:Module HOT 1
- GitHub Pages Deployment Failing HOT 3
- can't find gem bundler (= 2.0.1) with executable bundle HOT 1
- Consider adding `webrick` to the whitelist of allowed GitHub Pages dependencies to avoid build warnings HOT 1
- Find a maintainer or update support condition HOT 1
- Running with docker image does not work out-of-the-box HOT 1
- Whitelisting jekyll-webpack
- Failed to serve site HOT 2
- Windows: Failed to build (mathn) HOT 2
- Error: csv was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0 HOT 1
- Can't serve website due to sass-embedded version HOT 2
- Gem may fail if a user has a repository with many contributors HOT 2
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 pages-gem.