diff --git a/_config.yml b/_config.yml index 4e51347e..3cd9eaf8 100644 --- a/_config.yml +++ b/_config.yml @@ -16,6 +16,8 @@ markdown: redcarpet react_version: 0.4.0 description: A JavaScript library for building user interfaces relative_permalinks: true +paginate: 5 +paginate_path: /blog/page:num nav_docs_sections: - title: Quick Start items: diff --git a/_css/react.scss b/_css/react.scss index 68bfe87e..8c79fbe0 100644 --- a/_css/react.scss +++ b/_css/react.scss @@ -248,6 +248,12 @@ li { } +.nav-blog { + li { + margin-bottom: 5px; + } +} + // Home Page specifics .home-section { @@ -285,14 +291,14 @@ li { margin-right: 0; } -#examples { - h3 { - color: $darkColor; - font-size: 24px; - font-weight: normal; - margin-bottom: 5px; - } +#examples h3, .home-presentation h3 { + color: $darkColor; + font-size: 24px; + font-weight: normal; + margin-bottom: 5px; +} +#examples { p { margin: 0 0 25px 0; max-width: $twoColumnWidth; @@ -685,3 +691,15 @@ p code { .post { margin-bottom: 30px; } + +.pagination { + margin-bottom: 30px; + + /* Trick to get the wrapper to expand to fit floating elements */ + width: 100%; + overflow: hidden; + + .next { + float: right; + } +} \ No newline at end of file diff --git a/_includes/nav_blog.html b/_includes/nav_blog.html index 3cc9ec8b..75ff77e5 100644 --- a/_includes/nav_blog.html +++ b/_includes/nav_blog.html @@ -1,10 +1,11 @@ -