1.0.2 • Published 4 years ago

htbuild v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

htBuild

Easy to use static site generator

What is htBuild ?

htBuild is an easy to use static site generator written in JavaScript. It lets you use variables and components in static site in very easy method. No need to learn very complex framework and

Installing htBuild

  1. Install Nodejs from here
  2. Open cmd / terminal and enter below command
npm install htbuild

Syntax

Defining Component

File Path : Components/navbar.html

<nav>
	<ul>
		<li>Home</li>
		<li>About</li>
		<li>Contact</li>
	</ul>
</nav>
Using Component
<html>
    <head>
        <title>htBuild Demo</title>
    </head>
    <body>
        <ht_component data-component="/navbar">
    </body>
</html>
Defining & Using Variable
<html>
    <head>
        <title>htBuild Demo</title>
    </head>
    <body>
        <ht_variable data-var"name" data-val="Akash">
        
        <p>Hello everyone my name is {{name}}, I developed htBuild</p>
        
        <footer>
        	Designed & Developed by {{name}}
        </footer>
    </body>
</html>
1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago