Skip to content

SerzhSergeev/reactrb.org

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reactrb.org Static Website

The static site is built with Middleman.

Start Middleman

$ middleman server

Create a post

$ middleman article "Test Post"

Layouts

There are two layouts used in this site: source/layout and source/layouts/layout_with_toc. Most pages use the default layout and do not need any special consideration. Pages with an automatic Table Of Content (TOC) should use the 2nd layout (which need to be specified in config.rb). The TOC generator is set to only generatea TOC for h1 tags.

Any stylistic changes must be made to both layouts.

Build and Publish to Github Pages

Published pages are in gh-pages branch. Publishing to Github pages handled by Middleman Github Pages Gem.

The following rake tasks will not run with uncommited changes.

Rake Tasks

$ rake build    # Compile all files into the build directory
$ rake publish  # Build and publish to Github Pages

About

Reactrb new site

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 39.6%
  • HTML 37.9%
  • Ruby 22.5%