GithubHelp home page GithubHelp logo

isabella232 / jekyll-page-template Goto Github PK

View Code? Open in Web Editor NEW

This project forked from opener-project/jekyll-page-template

0.0 0.0 0.0 1.04 MB

Template files for the OpeNER portal page, as well as the individual gh-pages branches of the repositories.

Ruby 0.01% CSS 61.42% JavaScript 38.58%

jekyll-page-template's Introduction

Template for OpeNER Jekyll Website

The OpeNER portal (http://opener-project.github.io) contains all information you need to get up and running with OpeNER language technologies in minutes. To make sure the documentation stays up to date, each OpeNER github repository actually maintains it's documentation in a gh-pages branch.

This causes a problem, how to keep the layout and styles between all repositories synchronized?

The solution: Create a repo that contains the basic template, and knows how to update itself. That is exactly what you're looking at.

All style changes to the website can be done in this repository, you then have to update all repositories by running a rake update.

Usage

Copy the rakefile in this repository to any gh-pages branch of any repository. Then run the rake update command.

wget https://raw.githubusercontent.com/opener-project/jekyll-page-template/master/Rakefile
rake update

Updates

If you want to update the template, again, run:

rake update

Custom files

If you want to add custom files to the general template, this is possible. However, since the update mechanism is sometimes a bit blunt (especially on major updates), it needs some special treatment.

There is a custom directory present. Any file that you put in the custom directory will be copied OVER any template file. Also any files in the custom directory not present in the template will be added to the final result.

Why???

You might ask...WHY?! Well, because being able to do a "blunt" remove and re-install update is straightforward and comes in handy. It is expected that hardly any repository needs custom files, and those that do need custom files only need very few.

When a "custom" file can actually be re-used it makes more sense to extend the template anyway.

jekyll-page-template's People

Contributors

sparkboxx avatar

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.