public function getOGTypeMapping($name, $subname = null)
    {
        if ($types = $this->owner->config()->open_graph_types) {
            
            if (isset($types[$name])) {
                
                if (is_array($types[$name]) && $subname) {
                    return $types[$name][$subname];
                }
                
                if (!is_array($types[$name])) {
                    return $types[$name];
                }
                
            }
            
        }
    }