Example Grunt Config

Olex Ponomarenko edited this page Oct 3, 2013 · 1 revision
Clone this wiki locally
sqsp:
  options:
    defaultLocale: 'en'
    layoutName: 'default' # == default
    regionFilename: 'site' # == default
    locales:
        en:
          localeCode: "en"
          dateFormat: "%B %d, %Y"
          name: "Default"
        jp:
          localeCode: "ja_JP"
          dateFormat: "%Y–%m–%d"
          name: "Japan"
    navigations:
      mainNav:
        title: "Navigation"
        international: true
      footerNav:
        title: "Footer Navigation"
    buildDir: 'build' # == default
    themeDir: 'theme' # == default
    deployMessage: 'sqsp-autobuild'
  staging:
    options:
      buildDir: 'build-staging'
      staging: true # == no-op at the moment
      domain: 'yoursitestaging'
      remote: 'https://yoursitestaging.dev.squarespace.com/template.git'
  prod:
    options:
      buildDir: 'build-production'
      locales:
        en:
          localeCode: "en"
          dateFormat: "%B %d, %Y"
          name: "Default"
        de:
          localeCode: "de"
          dateFormat: "%d/%m/%Y"
          name: "German"
        jp:
          localeCode: "ja_JP"
          dateFormat: "%Y–%m–%d"
          name: "Japan"
      domain: 'yoursiteprod'
      remote: 'https://yoursiteprod.dev.squarespace.com/template.git'