poole / hyde

A brazen two-column theme for Jekyll.
http://hyde.getpoole.com
Other
3.65k stars 3.95k forks source link

How do I "install" Hyde over an existing Jekyll installation? #98

Open phayz opened 9 years ago

phayz commented 9 years ago

I cannot understand just how I install only the Hyde theme on my existing Jekyll installation.

nickserv commented 9 years ago

Like most Jekyll themes, Hyde acts like sort of a template of a site to build off of. I would recommend forking Hyde and copying over your existing Jekyll posts and configs (making edits as necessary), though if you want to stay within the same repo you can copy parts of Hyde's source into your project.

phayz commented 9 years ago

Ah... thank you. I thought Hyde was installed to a "themes" directory, or some such arrangement. I am new to Jekyll, so didn't understand how themes are applied.

nickserv commented 9 years ago

Adding it to an existing site may take some trial and error, so feel free to let me know if you have any other questions.

scozv commented 8 years ago

hi @phayz

I have installed the hyde on my existing Jekyll project (https://scotv.github.io) rencently, you may get some ideas from my commit https://github.com/scotv/scotv.github.com/commit/235f6f6b303988a2208404ea071c9b2c05a97031

And I also summarized the process on

http://scotv.github.io/help/2016/03/18/how-do-we-apply-the-hyde-theme-to-existing-jekyll-site#pi

It needs some coding on CSS, ruby, or Liquid in Jekyll. Actually, I am not very experienced on CSS, ruby or Liquid, but we can always learn from the codes written by others, right?

So I use code comparing tool, such as meld in Ubuntu, to find out the code differences between Hyde and the existing site.

I used this way to upgrade Jekyll to 3.0, to install Hyde theme, and I am trying to install Jekyll i18n plugin named Polyglot for two languages display for my site.

Guess what, Polyglot uses Hyde too !!!

http://untra.github.io/polyglot/

Thanks Hyde