# Brackets to match an exact string use the format: \bword\b

-----------------------------------------------
--- Data Prefix Values for i18n translation ---
-----------------------------------------------
# t = text - should be translated
# i = image - an image file 
# v = value - a numeric, currency, date value
# p = parameter - a non-displayed value

----------------------------
---  Error Causes        ---
----------------------------
Error: Error: undefined method `tr' for nil:NilClass 
Solution: This error is caused when the Data Page Gen plugin can not find the name: key-value specified in _config.yml in the data file.  To solve this update the name: value in config.yml.

--------------------------
---  Open Tasks        ---
--------------------------
* Set target_industry for _data\landing-pages-industries.yml to only show testimonial logos that match the industry page.
* Remove unused CSS from main.css. Re-generate the critical css and update the _includes/css_critical_path.html. Google Console identifies the unused CSS and can run a page audit also.

------------------------------
---  Install Process       ---
------------------------------
Add the following to the Gemfile
   gem 'rake'
   gem 'html-proofer'
   gem 'image_optim'
   gem 'image_optim_pack'
   gem 'xmlrpc'
   gem 's3_website'

Install the gems (this step may be unnecessary - try "$ bundle install" first.  It should install all the gems via bundler)
  * $ gem install rake 
  * $ gem install html-proofer
  * $ gem install image_optim
  * $ gem install image_optim_pack
  * $ gem install xmlrpc

Install amphtml validator (https://www.kyleniewiada.org/blog/2017/02/improving-jekyll-2017/#amphtml-validator)
  * Download and install the node.js package installer from https://nodejs.org/en/download/
  * $ sudo npm install -g amphtml-validator\

------------------------------
---  QA and Deploy Process ---
------------------------------
* $ bundle exec jekyll build (Correct any image size warnings by replacing the image.)
* $ bundle exec rake html_proofer (Fix any broken link or other issues identified. )
* $ bundle exec rake amp (Run amphtml-validator to make sure all AMP pages are valid.)

--- Deploy Site to Amazon if no issues found above ---
* $ bundle exec rake deploy

---------------------------
--- AMP Pages           ---
---------------------------
* To generate AMP files we use the MultiPost plugin.  
  * Add an array of layouts to the article ex. [article, article-amp]
  * Update the _plugins/multipost.rb plugin - the output path of each layout is hard coded in the file.
  
 ---------------------------
 --- S3_Website Settings ---
 ---------------------------
# To configure max-age cache control you have to include the S3_key_prefix in the path.
max_age:
  "websites-production/hubworks-com/assets/*": 31536000
  "websites-production/hubworks-com/js/*": 604800
  "websites-production/hubworks-com/css/*": 604800
  "websites-production/hubworks-com/fonts/*": 31536000
  "websites-production/hubworks-com/fonts/font-awesome/fonts/*": 31536000
  "websites-production/hubworks-com/assets/video/*": 31536000
  "websites-production/hubworks-com/assets/pdf/*": 31536000
  "websites-production/hubworks-com/assets/images/*": 31536000
  "*": 86400
 
# Redirects must be in the format below
redirects:
  app-redirect/index.html: https://sso.hubworks.com/hwsso/#/login/
  terms-of-use/index.html: https://hubworks.com/terms-of-use.html

---------------------------
--- Site Level Settings ---
---------------------------
# Web browser push notifications require OneSignal files to be added to root of site. Also, set the following in _config.yml
push_notification: true
OneSignal push notification id (i.e. AppId) for chrome and firefox
push_notification_appid: b5a3f9d1-838e-466b-a7ce-e9953abcf1ca
OneSignal push notification id for apple safari web browser
push_notification_safari_id: web.onesignal.auto.175a5781-a0a7-4966-97e0-0bfa01fcdb1f        
 
-----------------------------------
--- General Page Level Settings ---
-----------------------------------
# email list subscribe toast cta
cta_toast: true
cta_toast_form: 6  # enter the number of the toast form to display.

# product signup inline and sidebar cta - specify the product the visitor will be onboarded into. If the key is not present the visitor will onboard into the hubworks dashboard without a product activated.
cta
  cta_product: ziphaccp