.categories-header-container
  .container
    .categories-header-row
      .categories-header-col
        .col-md-4
          img src="<%= image_path('cocoa-tree-320.png') %>"
        .col-md-8
          p.alert.alert-warning
            | We need your help to add missing categories. Just send us your
            ' 
            a href="https://github.com/cocoa-tree/categories"
              | pull-request
            | .
          h1 CocoaTree
          p
            | The CocoaTree is a comprehensive catalog of open source Objective-C projects. In essence, it is based on the popular
            ' 
            a href="http://cocoapods.org" CocoaPods repository
            | . Additionally, popularity and activity ratings are calculated using data provided by 
            a href="https://github.com" GitHub
            | .
.categories-container
  .container
    .row
      .col-xs-12
        h1
          = @categories.length
          '
          | Categories
    .categories-row
      - columns = 3
      - categoriesPerColumn = parseInt(@categories.length / columns)
      - if categoriesPerColumn * columns < @categories.length
        - categoriesPerColumn++
      - column = 0
      - while column < columns
        .categories-col
          - i = categoriesPerColumn * column
          - while i < (categoriesPerColumn * (column + 1)) && i < @categories.length
            - category = @categories[i]
            a href="#pods/#{category.get('name')}"
              span = category.displayName()
              ' 
              span.badge.badge-yellow = category.get('podsCount')
            - i++
        - column++

.categories-header-container
  .container
    .categories-header-row
      .categories-header-col
        .col-md-4
          img src="<%= image_path('cocoa-tree-320.png') %>"
        .col-md-8
          p.alert.alert-warning
            | We need your help to add missing categories. Just send us your
            ' 
            a href="https://github.com/cocoa-tree/categories/edit/master/cocoa_pods_categories.json"
              | pull-request
            | .
          h1 CocoaTree
          p
            | The CocoaTree is a comprehensive catalog of open source Objective-C projects. In essence, it is based on the popular
            ' 
            a href="http://cocoapods.org" CocoaPods repository
            | . Additionally, popularity and activity ratings are calculated using data provided by 
            a href="https://github.com" GitHub
            | .
.categories-container
  .container
    .row
      .col-xs-12
        h1
          = @categories.length
          '
          | Categories
    .categories-row
      - columns = 3
      - categoriesPerColumn = parseInt(@categories.length / columns)
      - if categoriesPerColumn * columns < @categories.length
        - categoriesPerColumn++
      - column = 0
      - while column < columns
        .categories-col
          - i = categoriesPerColumn * column
          - while i < (categoriesPerColumn * (column + 1)) && i < @categories.length
            - category = @categories[i]
            a href="#pods/#{category.get('name')}"
              span = category.displayName()
              ' 
              span.badge.badge-yellow = category.get('podsCount')
            - i++
        - column++

Fix pull-request link on categories.
Fix pull-request link on categories.
