<commit_before># Load .env file
Dotenv.load

###
# Compass
###

# Change Compass configuration
# compass_config do |config|
#   config.output_style = :compact
# end

###
# Page options, layouts, aliases and proxies
###



# ignore '/partner.html'
# ignore '/affiliated_company.html'
# ignore '/misc.html'
# ignore '/service.html'
# ignore '/testimonial.html'

# Per-page layout changes:
#
# With no layout
# page "/path/to/file.html", :layout => false
#
# With alternative layout
# page "/path/to/file.html", :layout => :otherlayout
#
# A path which all have the same layout
# with_layout :admin do
#   page "/admin/*"
# end

# Proxy pages (https://middlemanapp.com/advanced/dynamic_pages/)
# proxy "/this-page-has-no-template.html", "/template-file.html", :locals => {
#  :which_fake_page => "Rendering a fake page with a local variable" }

###
# Helpers
###

activate :s3_sync do |s3_sync|
  s3_sync.bucket                     = ENV['BUCKET_NAME'] # The name of the S3 bucket you are targetting. This is globally unique.
  s3_sync.region                     = 'eu-west-1'     # The AWS region for your bucket.
  s3_sync.aws_access_key_id          = ENV['ACCESS_KEY_ID']
  s3_sync.aws_secret_access_key      = ENV['SECRET_ACCESS_KEY']
  s3_sync.delete                     = true # We delete stray files by default.
  s3_sync.after_build                = false # We chain after the build step by default. This may not be your desired behavior…
  s3_sync.prefer_gzip                = true
  s3_sync.path_style                 = true
  s3_sync.reduced_redundancy_storage = false
  s3_sync.acl                        = 'public-read'
  s3_sync.encryption                 = false
end

activate :contentful do |f|<commit_msg>fixed config<commit_after># Load .env file
Dotenv.load

###
# Compass
###

# Change Compass configuration
# compass_config do |config|
#   config.output_style = :compact
# end

###
# Page options, layouts, aliases and proxies
###



# ignore '/partner.html'
# ignore '/affiliated_company.html'
# ignore '/misc.html'
# ignore '/service.html'
# ignore '/testimonial.html'

# Per-page layout changes:
#
# With no layout
# page "/path/to/file.html", :layout => false
#
# With alternative layout
# page "/path/to/file.html", :layout => :otherlayout
#
# A path which all have the same layout
# with_layout :admin do
#   page "/admin/*"
# end

# Proxy pages (https://middlemanapp.com/advanced/dynamic_pages/)
# proxy "/this-page-has-no-template.html", "/template-file.html", :locals => {
#  :which_fake_page => "Rendering a fake page with a local variable" }

###
# Helpers
###

activate :s3_sync do |s3_sync|
  s3_sync.bucket                     = ENV['BUCKET_NAME'] # The name of the S3 bucket you are targetting. This is globally unique.
  s3_sync.region                     = 'eu-west-2'     # The AWS region for your bucket.
  s3_sync.aws_access_key_id          = ENV['ACCESS_KEY_ID']
  s3_sync.aws_secret_access_key      = ENV['SECRET_ACCESS_KEY']
  s3_sync.delete                     = true # We delete stray files by default.
  s3_sync.after_build                = false # We chain after the build step by default. This may not be your desired behavior…
  s3_sync.prefer_gzip                = true
  s3_sync.path_style                 = true
  s3_sync.reduced_redundancy_storage = false
  s3_sync.acl                        = 'public-read'
  s3_sync.encryption                 = false
end

activate :contentful do |f|
{'fraction_non_alphanumeric': 0.11521675880128018, 'fraction_numerical': 0.008728542333430317, 'mean_word_length': 2.7047413793103448, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1906808', 'n_tokens_mistral': 1136, 'n_tokens_neox': 1104, 'n_words': 300}