       (assoc loaded-md :link (str "/" (name lang-cd) (first (:link loaded-md)))
                        :template (first (:template loaded-md))))))
 
-(defn- write-page [compiled-page]
-  (let [output (io/file (:dest (config/read-config)) (string/replace (:link compiled-page) #"^/" ""))
-        template  (:template compiled-page)]
-    (kfile/touch output)
-    (require (symbol (str/replace  template #"/.*"  "")))
-    (spit output ((var-get (resolve (symbol template))) compiled-page))))
+
 
 (defn- internationalize
   [filenames langs]

      (merge {:body body :src md} {:metadata (merge metadata {:title (-> metadata :title first)
                                                      :link (-> metadata :link first)
                                                      :template (-> metadata :template first)})}))))

(defn load-markdown
  ([^String file]

            [net.cgrand.enlive-html :as ehtml]
            [kalar-core.config :as config]
            [clojure-csv.core :as csv]
            [tamaki-core.file :as tfile])
  (:import (java.io StringWriter StringReader)
           (java.text SimpleDateFormat)))

