示例#1
0
        public static void Initialize()
        {
            var allContentHtmls = Directory.GetFiles("../../content");

            foreach (var htmlPath in allContentHtmls)
            {
                var htmlName = htmlPath.Substring(htmlPath.LastIndexOf(@"\") + 1);
                htmls.Add(htmlName, HtmlReader.ReadHtml(htmlPath));
            }
        }