<commit_before>(ns clojars.web.common
  (:require [hiccup.core :refer [html h]]
            [hiccup.page-helpers :refer [html5 include-css include-js
                                         link-to unordered-list]]
            [hiccup.form-helpers :refer [form-to]]))

(defn when-ie [& contents]
  (str
   "<!--[if IE]>"
   (html contents)
   "<![endif]-->"))

(defn html-doc [account title & body]
  (html5
   [:html {:lang :en}
    [:head
     [:meta {:charset "utf-8"}]
     [:title
      (when title
        (str title " | "))
      "Clojars"]
     (map #(include-css (str "/stylesheets/" %))
          ["reset.css" "grid.css" "screen.css"])
     (when-ie (include-js "/js/html5.js"))]<commit_msg>Forgot to add common.clj - oops.<commit_after>(ns clojars.web.common
  (:require [hiccup.core :refer [html h]]
            [hiccup.page-helpers :refer [html5 include-css include-js
                                         link-to unordered-list]]
            [hiccup.form-helpers :refer [form-to]]))

(defn when-ie [& contents]
  (str
   "<!--[if IE]>"
   (html contents)
   "<![endif]-->"))

(defn html-doc [account title & body]
  (html5
   [:html {:lang :en}
    [:head
     [:link {:type "application/opensearchdescription+xml" 
	      :href (resolve-uri "opensearch.xml")
	      :rel "search"}] 
     [:meta {:charset "utf-8"}]
     [:title
      (when title
        (str title " | "))
      "Clojars"]
     (map #(include-css (str "/stylesheets/" %))
          ["reset.css" "grid.css" "screen.css"])
     (when-ie (include-js "/js/html5.js"))]
{'fraction_non_alphanumeric': 0.18762088974854932, 'fraction_numerical': 0.0051579626047711154, 'mean_word_length': 2.1102204408817635, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5752653', 'n_tokens_mistral': 558, 'n_tokens_neox': 542, 'n_words': 121}