text: // Header Inner Width
  
  {{ with .Site.Params.headerFallbackWidth | default "32em" }}
      const headerFallbackWidth = '{{ . }}';
  {{ end }}
  
  const headerInner = document.querySelector('.header-inner');
  const mainInner = document.querySelector('.main-inner');
  
  if (mainInner !== null) {
      const mainInnerWidth = window.getComputedStyle(mainInner, null).getPropertyValue('width');
  
      headerInner.style.setProperty('--main-inner', mainInnerWidth);
  } else {
      headerInner.style.setProperty('--main-inner', headerFallbackWidth);
  }
  
  headerInner.style.setProperty('opacity', 1);
  
  
  // Hide switcher's parentNode if it has `data-hide`
  
  function addDisplayNone(e) {
      const ele = document.getElementById(e);
      if (ele !== null) {
          const hide = ele.getAttribute('data-hide');
          if (hide !== null) {
              ele.parentNode.style = 'display: none';
          }
      }
  }
  
  addDisplayNone('theme-switcher');
  
  addDisplayNone('lang-switcher');
  