03 Removing Sections

Remove a Section

Step 1: Open data/site.json. This is the master config file. Find the sections array:

{
    "name": "Coffee Bean",
    "title": "Coffee Bean",
    "description": "Coffee Bean — a PhD candidate...",
    "cv": {
        "enabled": true,
        "path": "assets/cv.pdf",
        "viewer": "pages/cv.html",
        "mode": "view",
        "label": "View CV"
    },
    "highlight_color": "#ffff00",
    "header": {
        "name": "Coffee Bean",
        "subtitle": "PhD Candidate in Coffee Science",
        "institution": "Caffeine Tech",
        "image": "assets/images/hero/profile1x1.jpg",
        "image_alt": "Coffee Bean"
    },
    "sections": [
        {
            "file": "data/about.json",
            "id": "about",
            "enabled": true
        },
        {
            "file": "data/publications.json",
            "id": "publications",
            "enabled": true
        },
        {
            "file": "data/research.json",
            "id": "research",
            "enabled": true
        },
        {
            "file": "data/education.json",
            "id": "education",
            "enabled": true
        },
        {
            "file": "data/contact.json",
            "id": "contact",
            "enabled": true
        }
    ]
}

Step 2: Find the section you want to remove. Change "enabled": true to "enabled": false. For example, to remove the Contact section:

    "sections": [
        {
            "file": "data/about.json",
            "id": "about",
            "enabled": true
        },
        {
            "file": "data/publications.json",
            "id": "publications",
            "enabled": true
        },
        {
            "file": "data/research.json",
            "id": "research",
            "enabled": true
        },
        {
            "file": "data/education.json",
            "id": "education",
            "enabled": true
        },
        {
            "file": "data/contact.json",
            "id": "contact",
            "enabled": false
        }
    ]

After this change, the Contact section will no longer appear on your website.

Add a Section

Create a new JSON file in data/, then add an entry to the sections array pointing to it.

Reorder Sections

Move entries up or down in the sections array. The order in the array determines display order on the page.