original_string: public function getTemplateHtml($partial)
      {
          $config = $this->getThemeConfig();
          // @todo add check here to make sure partial exists, if missing log error
          $filename = $this->getTemplateFolder().$config['templates'][$partial]['file'];
  
          $html = $this->getTemplateFile($filename, $this->getContextConfig());
          
          return $html;
      }
code: public function getTemplateHtml($partial)
      {
          $config = $this->getThemeConfig();
          // @todo add check here to make sure partial exists, if missing log error
          $filename = $this->getTemplateFolder().$config['templates'][$partial]['file'];
  
          $html = $this->getTemplateFile($filename, $this->getContextConfig());
          
          return $html;
      }
code_tokens: public function getTemplateHtml ( $ partial ) { $ config = $ this -> getThemeConfig ( ) ; // @todo add check here to make sure partial exists, if missing log error $ filename = $ this -> getTemplateFolder ( ) . $ config [ 'templates' ] [ $ partial ] [ 'file' ] ; $ html = $ this -> getTemplateFile ( $ filename , $ this -> getContextConfig ( ) ) ; return $ html ; }
docstring: Get template file populated by the config
  
  @usage Partial render need to be declared in theme.json
  e.g. get header/footer
  @param string $partial
  @return string html
docstring_tokens: Get template file populated by the config