<commit_before>page '/*.xml', layout: false
page '/*.json', layout: false
page '/*.txt', layout: false
page "materia.html", layout: false

page 'projects/index.html', layout: :layout
page 'projects/*', layout: :project
page 'schemes/index.html', layout: :layout
page 'schemes/*', layout: :scheme
page 'blog/index.html', layout: :layout
page 'blog/*', layout: :blog


set :index_file, "index.html"

activate :syntax
set :markdown_engine, :redcarpet
set :markdown, fenced_code_blocks: true, smartypants: true, prettify: true

configure :build do
  activate :minify_css
  activate :minify_javascript
end

activate :deploy do |deploy|
  deploy.deploy_method = :git
  deploy.build_before = true
end

activate :livereload
activate :directory_indexes
activate :defmanme
<commit_msg>Config: livereload: bind to dev.defman.me<commit_after>page '/*.xml', layout: false
page '/*.json', layout: false
page '/*.txt', layout: false
page "materia.html", layout: false

page 'projects/index.html', layout: :layout
page 'projects/*', layout: :project
page 'schemes/index.html', layout: :layout
page 'schemes/*', layout: :scheme
page 'blog/index.html', layout: :layout
page 'blog/*', layout: :blog


set :index_file, "index.html"

activate :syntax
set :markdown_engine, :redcarpet
set :markdown, fenced_code_blocks: true, smartypants: true, prettify: true

configure :build do
  activate :minify_css
  activate :minify_javascript
end

activate :deploy do |deploy|
  deploy.deploy_method = :git
  deploy.build_before = true
end

activate :livereload, host: "dev.defman.me"
activate :directory_indexes
activate :defmanme

{'fraction_non_alphanumeric': 0.13241723922548407, 'fraction_numerical': 0.0, 'mean_word_length': 5.647302904564316, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2512656', 'n_tokens_mistral': 541, 'n_tokens_neox': 521, 'n_words': 164}