Giter Club home page Giter Club logo

rights-site's Introduction

rightsstatements.org CMS

This CMS uses jekyll. No plugins are currently in use, allowing deployment to GitHub Pages.

Adding content

You can add both, posts:

$ echo "
---
layout: post
title: Hello, world!
author: John Doe <[email protected]>
---

Lorem ipsum dolor sit amet ...
" > en/_posts/2016-01-25-hello-world.md

and pages:

$ echo "
---
layout: page
title: My new page!
author: John Doe <[email protected]>
---

Lorem ipsum dolor sit amet ...
" > en/my-new-page.md

Multilinguality

To add translated content, simply use the same slug (the date may differ) in the corresponding language's directory:

$ echo "
---
layout: post
title: Hallo, Welt!
author: John Doe <[email protected]>
---

Lorem ipsum dolor sit amet ...
" > de/_posts/2016-01-25-hello-world.md

Static content

Static content such as images live in the files directory. To properly reference a file, prefix it with {{ site.baseurl }}:

![dpla]({{ site.baseurl }}/files/dpla.jpg)

Deployment

To deploy to GitHub Pages, simply pull any changes into the gh-pages branch.

To deploy to a server with jekyll installed:

$ git clone https://github.com/graphthinking/rights-site.git
$ cd rights-site
$ jekyll serve

This will start jekyll on port 4000.

To deploy to a server without jekyll, generate the site and copy the resulting _site directory to a webserver:

$ git clone https://github.com/graphthinking/rights-site.git
$ cd rights-site
$ jekyll build
$ scp -r _site/* user@host:/path/to/web/root

rights-site's People

Contributors

literarymachine avatar

Watchers

 avatar James Cloos 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.