<commit_before>include _partial/helpers

if page.title
  - var current_title = page.title
else
  - var current_title = config.title

if (config.root != '/')
  - var root = config.root
else
  - var root = ''

<!DOCTYPE html>
html(lang='#{config.language}')
  head
    meta(http-equiv='content-type', content='text/html; charset=utf-8')
    meta(content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0', name='viewport')
    meta(content='yes', name='apple-mobile-web-app-capable')
    meta(content='black-translucent', name='apple-mobile-web-app-status-bar-style')
    meta(content='telephone=no', name='format-detection')
    meta(name='description', content=config.description)
    block title
    link(rel='stylesheet', type='text/css', href=root + '/css/normalize.css')
    link(rel='stylesheet', type='text/css', href=root + '/css/pure-min.css')
    link(rel='stylesheet', type='text/css', href=root + '/css/grids-responsive-min.css')
    link(rel='stylesheet', type='text/css', href=root + '/css/style.css')
    link(rel='Shortcut Icon', type='image/x-icon',href='/favicon.ico')
    link(rel='apple-touch-icon', href='/apple-touch-icon.png')
    link(rel='apple-touch-icon-precomposed', href='/apple-touch-icon.png')
    link(rel='alternate', type='application/atom+xml', href='/atom.xml')

  body: .body_container
    #header
      .site-name
        h1.hidden= current_title
        a#logo(href='/')= config.title
        p.description= config.subtitle<commit_msg>fix bad title href when site is in a subdirectory<commit_after>include _partial/helpers

if page.title
  - var current_title = page.title
else
  - var current_title = config.title

if (config.root != '/')
  - var root = config.root
else
  - var root = ''

<!DOCTYPE html>
html(lang='#{config.language}')
  head
    meta(http-equiv='content-type', content='text/html; charset=utf-8')
    meta(content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0', name='viewport')
    meta(content='yes', name='apple-mobile-web-app-capable')
    meta(content='black-translucent', name='apple-mobile-web-app-status-bar-style')
    meta(content='telephone=no', name='format-detection')
    meta(name='description', content=config.description)
    block title
    link(rel='stylesheet', type='text/css', href=root + '/css/normalize.css')
    link(rel='stylesheet', type='text/css', href=root + '/css/pure-min.css')
    link(rel='stylesheet', type='text/css', href=root + '/css/grids-responsive-min.css')
    link(rel='stylesheet', type='text/css', href=root + '/css/style.css')
    link(rel='Shortcut Icon', type='image/x-icon',href='/favicon.ico')
    link(rel='apple-touch-icon', href='/apple-touch-icon.png')
    link(rel='apple-touch-icon-precomposed', href='/apple-touch-icon.png')
    link(rel='alternate', type='application/atom+xml', href='/atom.xml')

  body: .body_container
    #header
      .site-name
        h1.hidden= current_title
        a#logo(href=root)= config.title
        p.description= config.subtitle
{'fraction_non_alphanumeric': 0.18496538081107813, 'fraction_numerical': 0.004615891856247939, 'mean_word_length': 4.276521739130435, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '7172902', 'n_tokens_mistral': 1026, 'n_tokens_neox': 1011, 'n_words': 162}