{"id":19716,"date":"2014-04-01T18:01:12","date_gmt":"2014-04-01T10:01:12","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=19716"},"modified":"2022-09-02T18:21:16","modified_gmt":"2022-09-02T10:21:16","slug":"kit-static-website","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/kit-static-website\/","title":{"rendered":"Building Static Sites with Kit and LESS &#8211; Part I"},"content":{"rendered":"<p>In this post, we are going to walk you through a project. In the project, we will create a static HTML website, and we will be using <a href=\"https:\/\/www.hongkiat.com\/blog\/kit-language\/\">Kit Language<\/a> for constructing the HTML pages, and LESS CSS as the styling language.<\/p>\n<p>If you followed our previous <a href=\"https:\/\/www.hongkiat.com\/blog\/kit-language\/\">article<\/a> on \u201cKit\u201d introduction, you will find that it allows us to <strong>use variables and import external files<\/strong>, making it easy to manage a project with a large number of HTML pages.<\/p>\n<p>Since \u201cKit\u201d is a <a href=\"https:\/\/codekitapp.com\/\" rel=\"nofollow\">Codekit<\/a> proprietary language and is also the only application that supports it at the moment (of this writing), you have to first install Codekit. It is available for <strong>$28<\/strong>. You can give the application a try via the trial version, which generously includes all features and capabilities.<\/p>\n<p class=\"note\"><strong>Recommended Reading:<\/strong> <a href=\"https:\/\/www.hongkiat.com\/blog\/less-css-tutorial-design-slick-menu-nav-bar\/\">LESS CSS Tutorial \u2014 Designing A Slick Menu Navigation Bar<\/a><\/p>\n<h2>Getting Started<\/h2>\n<p>Let\u2019s create a new folder for our project and name it, for instance, \u201cmysite\u201d. In the folder, we create three folders named \u201ckit\u201d, \u201cless\u201d, \u201cassets\u201d.<\/p>\n<p>The \u201ckit\u201d folder will contain the <code>.kit<\/code> files. In it, create a new folder named \u201cinc\u201d to save partial <code>.kit<\/code> files that will later be included into other files.<\/p>\n<p>Similarly, we will create an \u201cinc\u201d folder under the \u201cless\u201d folder.<\/p>\n<p>Lastly, the \u201cassets\u201d folder will contain the project\u2019s CSS, JavaScript, and Images. Let\u2019s create 3 more folders in it: \u201ccss\u201d, \u201cjs\u201d, and \u201cimg\u201d. At the end, the project directory structure should look like this:<\/p>\n<pre>\r\n  -- assets\r\n  \t  -- css\r\n   \t  -- img\r\n  \t  -- js\r\n  -- kit\r\n  \u00a0   -- inc\r\n  -- less\r\n      -- inc\r\n<\/pre>\n<p>Launch Codekit. Drag and drop the project folder on to the application window to add it as a \u201cCodekit Project\u201d.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/kit-static-website\/codekit-project.jpg\" alt=\"\" width=\"500\" height=\"200\"><\/figure>\n<h2>Creating the Files<\/h2>\n<p>One of the advantages of using Kit \u2013 as well as other similar languages like <a href=\"https:\/\/haml.info\/\" rel=\"nofollow\">Haml<\/a> or <a href=\"https:\/\/github.com\/dscape\/jade\" rel=\"nofollow\">Jade<\/a> \u2013 is that we can slice the documents into several partial files.<\/p>\n<p>We can save the document\u2019s header in \u201cheader.kit\u201d, or use \u201cfooter.kit\u201d for the document\u2019s footer. When we make a change in \u201cheader.kit\u201d, for an example, it will reflect on other pages where \u201cheader.kit\u201d is included. This saves us a lot of time since the files need not be edited separately.<\/p>\n<h3>Kit Files<\/h3>\n<p>In this project, we create the following Kit files and saved them in \u201cinc\u201d folder:<\/p>\n<ul>\n<li>\u201cdoc-open.kit\u201d \u2013 contains stuff that open HTML documents that include the <code>DOCTYPE<\/code>, and the <code>&lt;head&gt;<\/code> tag.<\/li>\n<li>\u201cdoc-close.kit\u201d \u2013 contains the stuff to close the HTML document. We will put the <code>&lt;\/html&gt;<\/code> and <code>&lt;\/body&gt;<\/code> in it.<\/li>\n<li>\u201cheader.kit\u201d, \u201cfooter.kit\u201d, \u201csidebar.kit\u201d, \u201cnavigation.kit\u201d \u2013 these files respectively contain the HTML structure for the document\u2019s header, footer, sidebar, and the menu navigation.<\/li>\n<\/ul>\n<p>And we create these Kit files below directly under the \u201ckit\u201d folder:<\/p>\n<ul>\n<li>\u201cindex.kit\u201d \u2013 this will be the homepage of the website.<\/li>\n<li>\u201cpage.kit\u201d \u2013 this is the second page of the website.<\/li>\n<\/ul>\n<pre>\r\n  -- assets\r\n  \u00a0   -- css\r\n  \u00a0   -- img\r\n  \u00a0   -- js\r\n  -- kit\r\n  \u00a0   -- inc\r\n  \u00a0   \u00a0   -- doc-close.kit\r\n  \u00a0   \u00a0   -- doc-open.kit\r\n  \u00a0   \u00a0   -- footer.kit\r\n  \u00a0   \u00a0   -- header.kit\r\n  \u00a0   \u00a0   -- navigation.kit\r\n  \u00a0   \u00a0   -- sidebar.kit\r\n  \u00a0   -- index.kit\r\n  \u00a0   -- page.kit\r\n  -- less\r\n      -- inc\r\n<\/pre>\n<p>We limit the website in this project to only 2 pages, so the tutorial would not be overwhelming but you can have as many pages as you want in an actual project.<\/p>\n<h3>LESS Files<\/h3>\n<p>We also create the LESS files in a similar structure. In addition, we will also utilize a LESS mixin library name <a href=\"https:\/\/madebysource.com\" rel=\"nofollow\">LESSHat<\/a>. So that we will be able to write our LESS codes faster and in simpler form. The following screenshot shows all the project\u2019s LESS files.<\/p>\n<pre>\r\n.\r\n  -- assets\r\n  \u00a0   -- css\r\n  \u00a0   -- img\r\n  \u00a0   -- js\r\n  -- kit\r\n  \u00a0   -- inc\r\n  \u00a0   \u00a0   -- doc-close.kit\r\n  \u00a0   \u00a0   -- doc-open.kit\r\n  \u00a0   \u00a0   -- footer.kit\r\n  \u00a0   \u00a0   -- header.kit\r\n  \u00a0   \u00a0   -- navigation.kit\r\n  \u00a0   \u00a0   -- sidebar.kit\r\n  \u00a0   -- index.kit\r\n  \u00a0   -- page.kit\r\n  -- less\r\n      -- inc\r\n      \u00a0   -- footer.less\r\n      \u00a0   -- header.less\r\n      \u00a0   -- lesshat.less\r\n      \u00a0   -- navigation.less\r\n      \u00a0   -- sidebar.less\r\n      -- style.less\r\n<\/pre>\n<p>They are also listed in Codekit.<\/p>\n<h2>Kit SyntaxHighligting<\/h2>\n<p>Kit Language is basically <strong>HTML with special features<\/strong>. The problem is that the <code>.kit<\/code> extension is unknown by most code editors. If we open it, the code editor could not present it with proper color syntax highlighting automatically.<\/p>\n<p>If you are using SublimeText, you can follow the following trick to enable syntax highlighting for Kit Language:<\/p>\n<p>First, install <a href=\"https:\/\/github.com\/skuroda\/PackageResourceViewer\" rel=\"\">PackageResourceViewer<\/a> in SublimeText. This plugin allows us to quickly open <a href=\"https:\/\/www.sublimetext.com\/docs\/packages.html\" rel=\"nofollow\">SublimeText core packages<\/a>. Once it has been installed, launch Command Palette \u2013 <span class=\"key\">Cmd<\/span> + <span class=\"key\">Shift<\/span> + <span class=\"key\">P<\/span> \u2013 and search \u201cOpen Resource\u201d, without the quote.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/kit-static-website\/open-resource.jpg\" alt=\"\" width=\"500\" height=\"150\"><\/figure>\n<p>Then, navigate to <strong>HTML &gt; HTML.tmLanguage<\/strong>. In it you will see a list of extensions wrapped withing <code>&lt;string&gt;<\/code> tag. Add the support for .kit extension by including <code>&lt;string&gt;kit&lt;\/string&gt;<\/code> between the list. Save the file, and restart SublimeText.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/kit-static-website\/kit-string.jpg\" alt=\"\" width=\"500\" height=\"180\"><\/figure>\n<p>The <code>.kit<\/code> file extension would be identified as an HTML file, and should also be given proper syntax color highlighting as HTML.<\/p>\n<h2>Output Path<\/h2>\n<p>All the files that we have created are listed in Codekit. Codekit will watch all these files and compile them when the changes are in place. By default, the <em>compiled files<\/em> will be saved at the same directory level as the <em>source file<\/em>, whereas all our project\u2019s assets such as the CSS should be saved in the \u201cassets\u201d folder.<\/p>\n<p>So, we need to configure the output path. Let\u2019s enable the project-level setting.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/kit-static-website\/project-level-setting.jpg\" alt=\"\" width=\"500\" height=\"320\"><\/figure>\n<h3>LESS CSS output path<\/h3>\n<p>In the Setting page, navigate to the \u201cLess\u201d tab at the left sidebar. Select \u201cTo this path:\u201d option. Enter <code>\/assets\/css\/<\/code> as the output path, and set the \u201cRelative to\u201d option to \u201cThe project\u2019s root folder\u201d, as follow.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/kit-static-website\/less-path.jpg\" alt=\"\" width=\"500\" height=\"200\"><\/figure>\n<p>Scroll-down the application window a little, and click the <span class=\"key\">Apply Output Paths<\/span> button to confirm the above configuration.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/kit-static-website\/apply-output-path.jpg\" alt=\"\" width=\"500\" height=\"200\"><\/figure>\n<h3>Kit output path<\/h3>\n<p>Kit compiles into HTML. We will save all HTML documents directly under <a href=\"https:\/\/en.wikipedia.org\/wiki\/Root_directory\" rel=\"nofollow\">the project root directory<\/a>. Navigate to \u201cKit\u201d tab. It is similar to the \u201cLess\u201d configuration that we have accomplished above. We select \u201cTo this path:\u201d option. Enter <code>\/<\/code> as the output path, and set the \u201cRelative to\u201d option to \u201cThe project\u2019s root folder\u201d.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/kit-static-website\/less-path.jpg\" alt=\"\" width=\"500\" height=\"200\"><\/figure>\n<p>Click the <span class=\"key\">Apply Output Paths<\/span> button at last.<\/p>\n<h2>To Be Continued<\/h2>\n<p>This is the end of our tutorial, Part 1. To sum up, we have set the project files, structure, and configuration. Next, we will start developing the website with Kit and LESS. So, stay tuned.<\/p>","protected":false},"excerpt":{"rendered":"<p>In this post, we are going to walk you through a project. In the project, we will create a static HTML website, and we will be using Kit Language for constructing the HTML pages, and LESS CSS as the styling language. If you followed our previous article on \u201cKit\u201d introduction, you will find that it&hellip;<\/p>\n","protected":false},"author":113,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3392,352],"tags":[2969,1980],"topic":[4520],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Building Static Sites with Kit and LESS - Part I - Hongkiat<\/title>\n<meta name=\"description\" content=\"In this post, we are going to walk you through a project. In the project, we will create a static HTML website, and we will be using Kit Language for\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hongkiat.com\/blog\/kit-static-website\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Building Static Sites with Kit and LESS - Part I\" \/>\n<meta property=\"og:description\" content=\"In this post, we are going to walk you through a project. In the project, we will create a static HTML website, and we will be using Kit Language for\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/kit-static-website\/\" \/>\n<meta property=\"og:site_name\" content=\"Hongkiat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hongkiatcom\" \/>\n<meta property=\"article:published_time\" content=\"2014-04-01T10:01:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-09-02T10:21:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/kit-static-website\/codekit-project.jpg\" \/>\n<meta name=\"author\" content=\"Thoriq Firdaus\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@tfirdaus\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Thoriq Firdaus\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/kit-static-website\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/kit-static-website\\\/\"},\"author\":{\"name\":\"Thoriq Firdaus\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/e7948c7a175d211496331e4b6ce55807\"},\"headline\":\"Building Static Sites with Kit and LESS &#8211; Part I\",\"datePublished\":\"2014-04-01T10:01:12+00:00\",\"dateModified\":\"2022-09-02T10:21:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/kit-static-website\\\/\"},\"wordCount\":934,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/kit-static-website\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/kit-static-website\\\/codekit-project.jpg\",\"keywords\":[\"Kit\",\"Less\"],\"articleSection\":[\"Coding\",\"Web Design\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/kit-static-website\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/kit-static-website\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/kit-static-website\\\/\",\"name\":\"Building Static Sites with Kit and LESS - Part I - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/kit-static-website\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/kit-static-website\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/kit-static-website\\\/codekit-project.jpg\",\"datePublished\":\"2014-04-01T10:01:12+00:00\",\"dateModified\":\"2022-09-02T10:21:16+00:00\",\"description\":\"In this post, we are going to walk you through a project. In the project, we will create a static HTML website, and we will be using Kit Language for\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/kit-static-website\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/kit-static-website\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/kit-static-website\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/kit-static-website\\\/codekit-project.jpg\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/kit-static-website\\\/codekit-project.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/kit-static-website\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Building Static Sites with Kit and LESS &#8211; Part I\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"name\":\"Hongkiat\",\"description\":\"Tech and Design Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\",\"name\":\"Hongkiat.com\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"width\":1200,\"height\":799,\"caption\":\"Hongkiat.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hongkiatcom\",\"https:\\\/\\\/x.com\\\/hongkiat\",\"https:\\\/\\\/www.pinterest.com\\\/hongkiat\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/e7948c7a175d211496331e4b6ce55807\",\"name\":\"Thoriq Firdaus\",\"description\":\"Thoriq is a writer for Hongkiat.com with a passion for web design and development. He is the author of Responsive Web Design by Examples, where he covered his best approaches in developing responsive websites quickly with a framework.\",\"sameAs\":[\"https:\\\/\\\/thoriq.com\",\"https:\\\/\\\/x.com\\\/tfirdaus\"],\"jobTitle\":\"Web Developer\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/thoriq\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Building Static Sites with Kit and LESS - Part I - Hongkiat","description":"In this post, we are going to walk you through a project. In the project, we will create a static HTML website, and we will be using Kit Language for","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.hongkiat.com\/blog\/kit-static-website\/","og_locale":"en_US","og_type":"article","og_title":"Building Static Sites with Kit and LESS - Part I","og_description":"In this post, we are going to walk you through a project. In the project, we will create a static HTML website, and we will be using Kit Language for","og_url":"https:\/\/www.hongkiat.com\/blog\/kit-static-website\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2014-04-01T10:01:12+00:00","article_modified_time":"2022-09-02T10:21:16+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/kit-static-website\/codekit-project.jpg","type":"","width":"","height":""}],"author":"Thoriq Firdaus","twitter_card":"summary_large_image","twitter_creator":"@tfirdaus","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Thoriq Firdaus","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/kit-static-website\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/kit-static-website\/"},"author":{"name":"Thoriq Firdaus","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/e7948c7a175d211496331e4b6ce55807"},"headline":"Building Static Sites with Kit and LESS &#8211; Part I","datePublished":"2014-04-01T10:01:12+00:00","dateModified":"2022-09-02T10:21:16+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/kit-static-website\/"},"wordCount":934,"commentCount":1,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/kit-static-website\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/kit-static-website\/codekit-project.jpg","keywords":["Kit","Less"],"articleSection":["Coding","Web Design"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/kit-static-website\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/kit-static-website\/","url":"https:\/\/www.hongkiat.com\/blog\/kit-static-website\/","name":"Building Static Sites with Kit and LESS - Part I - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/kit-static-website\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/kit-static-website\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/kit-static-website\/codekit-project.jpg","datePublished":"2014-04-01T10:01:12+00:00","dateModified":"2022-09-02T10:21:16+00:00","description":"In this post, we are going to walk you through a project. In the project, we will create a static HTML website, and we will be using Kit Language for","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/kit-static-website\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/kit-static-website\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/kit-static-website\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/kit-static-website\/codekit-project.jpg","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/kit-static-website\/codekit-project.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/kit-static-website\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Building Static Sites with Kit and LESS &#8211; Part I"}]},{"@type":"WebSite","@id":"https:\/\/www.hongkiat.com\/blog\/#website","url":"https:\/\/www.hongkiat.com\/blog\/","name":"Hongkiat","description":"Tech and Design Tips","publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hongkiat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hongkiat.com\/blog\/#organization","name":"Hongkiat.com","url":"https:\/\/www.hongkiat.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","contentUrl":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","width":1200,"height":799,"caption":"Hongkiat.com"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hongkiatcom","https:\/\/x.com\/hongkiat","https:\/\/www.pinterest.com\/hongkiat\/"]},{"@type":"Person","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/e7948c7a175d211496331e4b6ce55807","name":"Thoriq Firdaus","description":"Thoriq is a writer for Hongkiat.com with a passion for web design and development. He is the author of Responsive Web Design by Examples, where he covered his best approaches in developing responsive websites quickly with a framework.","sameAs":["https:\/\/thoriq.com","https:\/\/x.com\/tfirdaus"],"jobTitle":"Web Developer","url":"https:\/\/www.hongkiat.com\/blog\/author\/thoriq\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-580","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/19716","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/users\/113"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=19716"}],"version-history":[{"count":3,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/19716\/revisions"}],"predecessor-version":[{"id":62184,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/19716\/revisions\/62184"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=19716"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=19716"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=19716"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=19716"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}