code: public function removeBlock($blockFile)
      {
          foreach ($this->permalinks as $permalink => $associatedBlocks) {
              $tmp = array_flip($associatedBlocks);
              unset($tmp[$blockFile]);
              if (empty($tmp)) {
                  unset($this->permalinks[$permalink]);
  
                  continue;
              }
  
              $this->permalinks[$permalink] = array_flip($tmp);
          }
  
          return $this;
      }
docs: Removes the given block from permalinks list
  
  @param $blockFile
  
  @return $this