Categories and subdirectories not filtering

I’m having a problem with categories and subdirectories not filtering properly - this can be observed on the Articles (subdirectory), Projects (subdirectory), and Development (category) pages here:

At the moment, all of the published content is appearing on all of those pages, no matter what category or tag has been applied.

Here is my default list.html and my config file:


<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}" prefix="og:">
{{ partial "head.html" . }}

  <article class="posts">
    <div class="row">
      <div class="col-xs-12">
        {{ partial "header.html" . }}
        <h1 class="post-title">{{ .Title }}</h1>
        <div id="posts-list">
          {{ range (where site.RegularPages "Type" "in" site.Params.mainSections).GroupByDate "2006" -}}
            <h1 class="site-date-catalog">{{ .Key }}</h1>

            {{ range .Pages }}
            <div class="row posts-line">
              <div class="posts-date col-xs-3 col-sm-2">
                <time datetime="{{ .Date.Format "2006-01-02 15:04:05 MST" }}">{{ .Date.Format "Jan 02"}}</time>
              <div class="posts-title col-xs-9 col-sm-10">
                <div class="row">
                  <div class="col-xs-11 col-sm-10">
                    <a href="{{ .RelPermalink }}">{{ .Title }}</a>
                  <div class="col-xs-1 col-sm-2 posts-categories">
                    {{ range .Params.categories }}
                    <div class="posts-category">
                      <a href="/categories/{{ lower . }}/"><strong>{{ . }}</strong></a>
                    {{ end }}
            {{ end }}
          {{ end }}

        {{ partial "footer.html" . }}

  {{ partial "scripts.html" . }}



baseURL = ''
languageCode = 'en-us'
title = "Adam El's Blog"
theme = "yinyang"

    categories =  "/:section/:slug"

name = "Adam El-Naggar"

mainSections = ["articles", "projects"]
homeSections = ["articles"]
headTitle = "Adam El's Blog"
description = "Articles about my experience growing my small business and building online side projects."

name = "Articles"
link = "/articles/"
name = "Podcasts"
link = "/podcasts/"
name = "Projects"
link = "/projects/"
name = "Subscribe"
link = "/"

      unsafe = true

Any help would be very appreciated - this is driving me up the wall!