GithubHelp home page GithubHelp logo

vasvitaly / altoros.github.com Goto Github PK

View Code? Open in Web Editor NEW

This project forked from altoros/altoros.github.com

0.0 2.0 0.0 941 KB

Collective blog written by developers from Altoros

Home Page: http://altoros.github.com

altoros.github.com's Introduction

Hi, this is collective blog of developers in Altoros company. This is show cheatsheet for those from you who would like to contribute some contents here. The blog is using jekyll static site generator and hosted at github pages, so please read corresponding resources to you need to learn more.

To be accepted your post should follow these simple rules:

  1. To have name like _posts/%Y-%m-%d-%{slug}.markdown. You can easily create new file with this oneliner:

     $ touch _posts/`date +%Y-%m-%d`-my-cool-post.markdown
    
  2. To have mandatory YAML header like this:

     ---
     layout: post
     title: The Cool Title
     description: Short description of the post
     author:
       name: Your Name
       link: https://github.com/nickname
     ---
    

    The layout: property is constant, but others you must change. The link: property could be any valid URL which describes your identity better.

  3. If your post is quite long, it will be great if you will hide second part of it on the index page. To do so you should wrap it using <!-- full start --> and <!-- full end -->. For example:

     Bla bla bla...
    
     <!-- full start -->
    
     Long body.....
     .....
     .....
    
     <!-- full end -->
    

    In this case the generator will be able to cut this section and hide on index page.

For those who aren't familiar with ruby ecosystem, steps to setup local jekyll site:

  1. Install ruby

     $ sudo apt-get install -y ruby rubygems
    
  2. Install jekyll and rdiscount

     $ sudo gem install rdiscount jekyll
    
  3. Fork this repository and clone your fork locally

     $ git clone [email protected]:YOURNAME/altoros.github.com.git
    
  4. Write the post and verify it by spawning local server

     $ jekyll --server
    
  5. Create a pull request

altoros.github.com's People

Contributors

avsej avatar elenat avatar melnikaite avatar schaternik avatar pachkovsky avatar marvelousninja avatar ka8725 avatar styx avatar netoctone avatar fut avatar bismark64 avatar dimasavitsky avatar

Watchers

Vitaly Vasilevsky 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.