colorlab
clone your own copy | download snapshot

Snapshots | iceberg

Inside this repository

management.md
text/html

Download raw (558 bytes)

# Content management

## Adding a new category

1. Create a category description at `site/categories` folder, e.g. `site/categories/new_category.md`.
2. Create a new content folder to store the articles associated to the new category, e.g. `site/content/new_category/`.
3. Add the new category to the main website index in file `site/themes/colorlab/templates/base.html`.
    ```html
        <li class="patterned-background"> <a href="new_category.html">New Category</a>
        </li>
    ```
4. Commit and deploy the changes (staging or production server).