Giter VIP home page Giter VIP logo

jekyll-multisites's Introduction

jekyll-multisites

Jekyll Multisites allows granular control over sharing codebases, plugins, files & assets across multiple Jekyll builds.

Purpose

The purpose of jekyll-multisites is to demonstrate the capabilities of Jekyll as a tool for sharing assets across multiple builds. HTML, CSS, JavaScript, image assets, plugins & gems can be shared as the source files for a system of websites.

Usage

To spin up the example sites first download the git repository: $ git clone [email protected]:Designaroni/jekyll-multisites.git

Running the sites individually

To build & serve either site run one of the following commands from the repository

$ bundle exec jekyll serve --config _config_site_one.yml
$ bundle exec jekyll serve --config _config_site_two.yml

Inspiration

Inspiration for this project came out of a need to share modular web components across a system of sites, Branding assets, shared call to action banners, modules of custom html, css & javscript & shared vendor assets.

Default Application Structure

... I'll get there don't worry, in the mean time shoot me a message on twitter @designaroni

jekyll-multisites's People

Contributors

designaroni avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

jekyll-multisites's Issues

Loop through subdirectories

Hi @Designaroni !

I currently have a project which follows almost the same structure of yours. But each site has the _staticAssets folder, with its own assets, but the plugin can't loop through the subdirectories.

It's something like this:

- global/sharedAssets (ok!)

- _staticAssets (project/site specific)
  - images
    - logos
    - banners
    - etc...

the plugin can only read the _staticAssets folder (root),, but I don't want to drop all files there, without organizing them in subdirectories. How can I setup the plugin to loop through them and export properly accordingly to each site?

Thanks! And gz for the work! ๐Ÿ‘

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.